Extreme n00b question

Anupam Kapoor anupam.kapoor at gmail.com
Tue Jul 26 02:13:04 EDT 2005


hi all,

a python n00b, so please bear with me. i have a simple question:

i generally name python sources as a-simple-python-example.py. when i
try to import a module named as above, i (obviously) get tracebacks
from python interpreter.

is there a way to continue naming python sources as above, and still
use it as python modules ? i can ofcourse change the name to
'a_simple_python_example.py', which then works.

thank you 
kind regards
anupam




More information about the Python-list mailing list