Extreme n00b question
Erik Max Francis
max at alcyone.com
Tue Jul 26 02:51:11 EDT 2005
Anupam Kapoor wrote:
> 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.
Something like
a_simple_python_example = __import__('a-simple-python-example')
--
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
If the sky should fall, hold up your hands.
-- (a Spanish proverb)
More information about the Python-list
mailing list