load pyd files from a zip from embedded python

前端 未结 4 1182
轻奢々
轻奢々 2021-01-12 19:09

I can load Python modules (.py, .pyc, .pyd) from a zip file by calling \"import some_module\" from a Python interpreter only after sys.path has been extended to include the

4条回答
  •  没有蜡笔的小新
    2021-01-12 19:22

    PYD files are native DLL files with renamed extension. Loading them relies on operating system facilities and operating system restrictions.

    Windows XP, or any OS as far as I know, cannot load DLL files from ZIP files, thus you cannot load PYD files from ZIP files.

提交回复
热议问题