python - Running a module that I've created out of Enthought Canopy -


i've created module, , access through python script in enthought canopy. when attempt same thing using python directly through command line, works fine -- import myfile.py. additionally, know default python distribution on machine enthought canopy. know why i'm not able access module i've created within python script in canopy editor? says there 'no module named myfile', though myfile.py in same directory.

there issue current working directory--it's not set default file saved. cding directory module in fixed it.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -