include statement
MonkeeSage
MonkeeSage at gmail.com
Wed Sep 20 02:23:56 EDT 2006
joakim.hove at gmail.com wrote:
> Hello,
>
> is it possible in python to include another python source file into the
> current namespace, i.e.completely analogous to the #include statement
> in C.
>
> Regards Joakim
from blah import * # where blah is a blah.py file in sys.path
Also see:
http://pyref.infogami.com/import
http://effbot.org/zone/import-confusion.htm
http://docs.python.org/tut/node8.html
Regards,
Jordan
More information about the Python-list
mailing list