Re: Calling "def" functions from another file.

2008-08-13 Thread Terry Reedy
frankrentef wrote: 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?

Re: Calling "def" functions from another file.

2008-08-13 Thread Bruno Desthuilliers
frankrentef a écrit : Newbie here I'm writing a Python program that has "def" functionality functions 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? yes.

Re: Calling "def" functions from another file.

2008-08-13 Thread Benjamin Kaplan
On Wed, Aug 13, 2008 at 12:37 PM, frankrentef <[EMAIL PROTECTED]> wrote: > 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

Calling "def" functions from another file.

2008-08-13 Thread frankrentef
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