Re: include statement

2006-09-20 Thread Gabriel Genellina
At Wednesday 20/9/2006 03:50, [EMAIL PROTECTED] wrote: My application has a configuration file where lots of variables are set. (The configuration file is python source, so there is no home-brewed parsing involved.) The configuration file is starting to get quite large and unwieldy, so for this

Re: include statement

2006-09-20 Thread Larry Bates
[EMAIL PROTECTED] wrote: > Thanks to all who took time to answer! > > >>> 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. > > [...] > >

Re: include statement

2006-09-20 Thread Bruno Desthuilliers
[EMAIL PROTECTED] wrote: > Thanks to all who took time to answer! > > >>> 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. > > [...] > >

Re: include statement

2006-09-20 Thread Peter Otten
[EMAIL PROTECTED] wrote: > Thanks to all who took time to answer! > > >> > 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. > > [...] >

Re: include statement

2006-09-19 Thread joakim . hove
Thanks to all who took time to answer! > > 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. [...] > Tell us why you are contemplating such a thing, and someone

Re: include statement

2006-09-19 Thread MonkeeSage
[EMAIL PROTECTED] 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.

Re: include statement

2006-09-19 Thread Ravi Teja
> 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. By using a pre-processor, like C does. http://www.freenet.org.nz/python/pyp/ If you are new to Python, keep in mind that this is fo

Re: include statement

2006-09-19 Thread Gary Herron
[EMAIL PROTECTED] 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 > > No (thank heavens)! We left #include and other such pr

include statement

2006-09-19 Thread joakim . hove
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 -- http://mail.python.org/mailman/listinfo/python-list