include a python class in another python script.

KraftDiner bobrien18 at yahoo.com
Tue Aug 15 16:44:28 EDT 2006


I have a class that is defined in a file called MyClass.py

How do I use that class in another python script..
import MyClass ?  (Does it need to be in a specific location?)




More information about the Python-list mailing list