Re: Defining functions in an implementation file

2006-07-18 Thread Yu-Xi Lim
westymatt wrote: > I am fairly new to python and I want to put alot of my functions in > another python file and import or from it into my script so I can call > the functions. How is this done? > What you are describing are modules. The Python Tutorial has some information on this http://docs.

Re: Defining functions in an implementation file

2006-07-18 Thread Diez B. Roggisch
westymatt schrieb: > I am fairly new to python and I want to put alot of my functions in > another python file and import or from it into my script so I can call > the functions. How is this done? import myfilefullofusefulfunctionsandclasses Works if you have the file myfilefullofusefulfuncti

Defining functions in an implementation file

2006-07-18 Thread westymatt
I am fairly new to python and I want to put alot of my functions in another python file and import or from it into my script so I can call the functions. How is this done? -- http://mail.python.org/mailman/listinfo/python-list