Import question

Michael Peuser mpeuser at web.de
Thu Sep 11 13:27:06 EDT 2003


"Fred Lionetti" <lionetti at bioeng.ucsd.edu>

> If I have a file at C:\Python23\myfolder\mymodule.py
>
> why can't I say (from python prompt or anywhere else):
> import myfolder.mymodule    ????

It might help to put an empty file named __init__.py into 'myfolder'
Kindly
Michael P






More information about the Python-list mailing list