/python_load

Usage:

/python_load module

This (re)imports a python module for you from your current PYTHONPATH, TFPATH, and TFLIBDIR. Use this instead of just '/python import mymodule' because it will also force a reload of the module for you in case it has been changed. Any functions in the module are now ready to use with /python_call.

Example:
/python_load mymodule
/python_call mymodule.dothis 1 2 3


Back to index
Back to tf home page
Copyright © 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004, 2005, 2006-2007 Ken Keys