Where to save classes? How to access classes?

David Mitchell dave at dbmdata.com
Tue Nov 1 03:25:57 CET 2005


I'm trying to get into the object oriented aspect of Python. If I create 
a custom class (in it's own file), how do I access that class in a 
function in a different file? In Java there's the notion of a CLASSPATH, 
where you can tell the compiler to look for classes. Is there something 
similar to this in Python?



More information about the Python-list mailing list