Calling "def" functions from another file.

frankrentef frankrentef at yahoo.com
Wed Aug 13 12:37:48 EDT 2008


Newbie here....

I'm writing a Python program that has "def" functionality growing in
leaps and bounds.  I'm a newbie to Python so be detailed.  Is there a
way to create a py file with all the "def's" listed and just call them
from the "program" py file?  How would I do this?  Say my "def" py
file was named def.py and the program file was named "program.py"

THNX



More information about the Python-list mailing list