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 into the interpreter for some functions I need to share in a project.

What do you mean "installed in the interpreter" ?

He probably meant either compiled into the interpreter or installed in the interpreter directory, not knowing that one can import from the project directory, and that the project directory gets added to the front of sys.path (as '.').

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to