On Sat, 29 Nov 2008 13:43:45 +0100, Helmut Jarausch wrote:

> How can I achieve that  all/some statements within that module get
> executed only at the very first import? (the statement which must be
> executed only once, initializes another OS-thread (java in my case))

Python already enforces that. import only executes the module once, the 
first time.


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

Reply via email to