How about? put apythonscript_function.py in a separate file
then inculde apythonscript_function.py at the top of maincode.py Looks like you probably need to go back and read the tutorial. -Larry [EMAIL PROTECTED] wrote: > H! > > I'm trying to find a python function to use like this: > > -- maincode.py > > Include "apythonscript_function.py" > > -- end > > So I can split the maincode.py file in smalle pieces. > Or yust save the function's in other file and include them once. > I really want to use this because else { the maincode.py will be super > super large. } > > Thanks, > GC-Martijn > > ----- if you don't understand what I mean: http://www.php.net/include > -- http://mail.python.org/mailman/listinfo/python-list