Václav Šmilauer píše v Čt 06. 12. 2012 v 13:47 +0100:
> Hi everybody,
> 
> I need to find file of a compiled module before importing it. In 
> non-frozen code, I use pkgutil.get_loader, but it returns None with 
> frozen installation. The file exists as a real standalone file on the 
> filesystem, in the distribution directory. WHich function should I
> use 
> then? I prefer one that will work for both frozen and not-frozen 
> variants, but using a different one if 'frozen' in sys is acceptable,
> too.
> 
> Cheers,
> 
> Vaclav 

I don't think there is something that would work for frozen and
non-frozen code. I think you would have to write some own rutines.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to