[issue29319] Embedded 3.6.0 distribution cannot run pyz files

Steve Dower report at bugs.python.org
Wed Mar 8 00:09:26 EST 2017


Steve Dower added the comment:

Oh, well that's by design. Neither the current working directory nor the directory of the initial script are in sys.path by default - they need to be added explicitly.

The intent of this distro is that you know exactly where relative to the executable your modules are, that won't change after you release your app, and that you want to avoid other code using your private (embedded) copy of Python.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29319>
_______________________________________


More information about the Python-bugs-list mailing list