import from containing folder

David Isaac aisaac0 at verizon.net
Wed Jul 26 13:21:03 EDT 2006


Simon Forman wrote:
> I would assume (but I haven't checked) that this should work as long as
> delmepy (in your case PackageFolder) was somewhere on sys.path.

Sorry that was not clear:
I do not want to make any assumptions about
this particular package being on sys.path.
(I want a relative import, but cannot assume 2.5.)

Thanks,
Alan





More information about the Python-list mailing list