Den Thu, 05 Jan 2006 14:53:40 +0800. skrev limodou:
> 2006/1/5, Thomas Dybdahl Ahle <[EMAIL PROTECTED]>:
>> Is it possible for an imported module to find its own location?
>
> you can access __file__(missing for built-in modules) or __path__(used
> for a package) attribute to find a module's loca
2006/1/5, Thomas Dybdahl Ahle <[EMAIL PROTECTED]>:
> Is it possible for an imported module to find its own location?
you can access __file__(missing for built-in modules) or __path__(used
for a package) attribute to find a module's location.
--
I like python!
My Blog: http://www.donews.net/limodo