import question

I'm not sure what I did or didn't, do but when I try to import a module below my main.py file (wx.Frame). I get the following error message
...
import pnls.start
ImportError: No module named pnls.start

pnls is a folder
and start is a py file (which works fine when I run it a Test Frame).

If I put start.py at the same level as my main.py file and just type 'import start' it works like a charm.

Where do I begin trouble shooting this one?

python 2.4
wxPython 2.5.5.1
WinXp sp2

Thanks,
Scott

···

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.15 - Release Date: 4/16/2005

how about

from pnls import start

···

On Sunday 17 April 2005 20:01, scott wrote:

I'm not sure what I did or didn't, do but when I try to import a module
below my main.py file (wx.Frame). I get the following error message
...
import pnls.start
ImportError: No module named pnls.start

pnls is a folder
and start is a py file (which works fine when I run it a Test Frame).

If I put start.py at the same level as my main.py file and just type
'import start' it works like a charm.

Where do I begin trouble shooting this one?

python 2.4
wxPython 2.5.5.1
WinXp sp2

Thanks,
Scott

--
  UC

--
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417