include in python
Bartek Golenko
bartek at debian.caton.com.pl
Mon May 5 05:45:24 EDT 2003
Hello,
I'm wondering if there is a way to simply include one python script
into another (like #include in C or source in sh).
I want to divide my program into smaller files, but I would prefer not
to use import (as it results in a separate namespaces for each module and
there are some interactions between them that I do not wish to cope with
right now).
I could live with sth. like "cat file1.py file2.py ... > prog.py" but I
wonder if there is any better solution.
Thanks in advance
Bartek
--
Bartlomiej Golenko
bartek at zts.ita.pwr.wroc.pl
More information about the Python-list
mailing list