Re: Smal question

2008-07-10 Thread Aahz
[contextectomy] If we answer a small question, are we making smalltalk? -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "as long as we like the same operating system, things are cool." --piranha -- http://mail.python.org/mailman/listinfo/python-list

Re: Smal question

2008-07-10 Thread Terry Reedy
Bruno Desthuilliers wrote: Hans Müller a écrit : Hello group, I have some scripts sharing some common functions. So what I'd like to have is a modern include. Of course python does not have (with good reasons) no include statement. But I'm too lazy to create a module which has to be installed

Re: Smal question

2008-07-10 Thread Bruno Desthuilliers
Hans Müller a écrit : Hello group, I have some scripts sharing some common functions. So what I'd like to have is a modern include. Of course python does not have (with good reasons) no include statement. But I'm too lazy to create a module which has to be installed into the interpreter for som

Re: Smal question

2008-07-10 Thread Hans Müller
Thanks a lot, you made my day. As often in python, it's really simple and useful ! Greetings Hans -- http://mail.python.org/mailman/listinfo/python-list

Re: Smal question

2008-07-10 Thread Nick Dumas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is easy. Simply create a .py file containing all the methods you want to share. Put this file in the same directory as the rest of your project files. In each of your project files that requires one of the methods, simply "import ". Python support

Smal question

2008-07-10 Thread Hans Müller
Hello group, I have some scripts sharing some common functions. So what I'd like to have is a modern include. Of course python does not have (with good reasons) no include statement. But I'm too lazy to create a module which has to be installed into the interpreter for some functions I need to s