#include equivalent

Pearu Peterson pearu at cens.ioc.ee
Mon Apr 2 16:28:15 EDT 2001


On Mon, 2 Apr 2001, Doug Gorley wrote:

> Is there a way to separate classes into separate files and have them
> included at runtime, similar to the way header files are #include'ed in
> C++?  

Python function execfile("filename") should be exact equivalent to CPP
#include "filename" directive.

Regards,
	Pearu




More information about the Python-list mailing list