[Idle-dev] Question on run module

Geiger Ho s997659@ee.cuhk.edu.hk
Wed, 9 Apr 2003 19:05:17 +0800 (HKT)


Hi all,

  I use idlefork 0.9a2. My problem is that when I run my module with
other module imported altogether in my specific path, say "c:\mywork", I
get "ImportError: No module named XXX". Is there any solution for this?

  My propose solution is that I in my module, append my path to sys.path.
However, os.path.abspath() gives me that idlefork path rather than the
path my module situated. Any solution too?

  Thanks in advance.

Regards,
Geiger