but it seems to depend on from where I start the Python shell.
so I've got a module selfservicelabe ls.py with some variables defined,
like this:
BtnSave = "link=label.sav e"
DeliveryAutomaa t = "//input[@id='deliveryMe thod' and @value='AU']"
This module is in the Lib directory.
Now when I do
import selfservicelabe ls
selfservicelabe ls.BtnSave
-> link=nmbs.label .save
selfservicelabe ls.DeliveryAuto maat
-> AttributeError: 'module' object has no attribute
'DeliveryAutoma at'
to make it more strange: PyCrust and Idle recognise DeliveryAutomaa t
perfectly.
Everything above is done with Python 2.4.3 on Windows XP SP2
So after some testing it seems to depend on from which partition I
start Python.
So open commandline and navigate to a dir on C: everything works
perfectly.
Close python shell en navigate to D: some variables in
selfservicelabe ls.py are not known.
What is going on here? Is this a known error?
so I've got a module selfservicelabe ls.py with some variables defined,
like this:
BtnSave = "link=label.sav e"
DeliveryAutomaa t = "//input[@id='deliveryMe thod' and @value='AU']"
This module is in the Lib directory.
Now when I do
import selfservicelabe ls
selfservicelabe ls.BtnSave
-> link=nmbs.label .save
selfservicelabe ls.DeliveryAuto maat
-> AttributeError: 'module' object has no attribute
'DeliveryAutoma at'
to make it more strange: PyCrust and Idle recognise DeliveryAutomaa t
perfectly.
Everything above is done with Python 2.4.3 on Windows XP SP2
So after some testing it seems to depend on from which partition I
start Python.
So open commandline and navigate to a dir on C: everything works
perfectly.
Close python shell en navigate to D: some variables in
selfservicelabe ls.py are not known.
What is going on here? Is this a known error?
Comment