On Nov 28, 9:35 am, Carl Banks <[EMAIL PROTECTED]> wrote:
> However, I'm not so sure the effect of os.chdir() on the import path
> is a good idea.

I'm not actually using os.chidir(), I just used it here to create a
clearer example.

Here is the simplest representation of the problem:

http://www.ninjashare.com/904415


$ cd singleton_test
$ export PYTHONPATH=.
$ python application/main_script.py
Creating class Singleton
Creating class MySingleton
Creating class Singleton
Creating class MySingleton
$
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to