[Python-Dev] Embedded python module search path
Tom Emerson
tree at basistech.com
Fri Aug 15 21:52:31 EDT 2003
More information about the Python-Dev mailing list
Fri Aug 15 21:52:31 EDT 2003
- Previous message: [Python-Dev] Embedded python module search path
- Next message: [Python-Dev] Embedded python module search path
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jack Jansen writes:
> There is a hack you can use nowadays, but a hack it truly is: fiddle
> _environ before calling Py_Initialize().
Yes, but this is pretty ugly, and to get full coverage involves
messing with PATH as well as PYTHONHOME et al. In the case of
embedding I would expect that would usually does *not* want the
standard search path to be constructed, or minimally only part of it.
-tree
--
Tom Emerson Basis Technology Corp.
Software Architect http://www.basistech.com
"Beware the lollipop of mediocrity: lick it once and you suck forever"
- Previous message: [Python-Dev] Embedded python module search path
- Next message: [Python-Dev] Embedded python module search path
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list