[Python-Dev] Disable built-in module import in embedded Python

Viktor Kovacs viktor.kovacs at gmail.com
Tue Feb 27 01:46:03 EST 2018


Hi All,

I have a question about embedding python in C++. I don't want to create a
duplication so I just leave here the existing stack overflow question:
https://stackoverflow.com/questions/48992030/disable-built-in-module-import-in-embedded-python

Do you have any idea how to achieve this?

Thanks,
Viktor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180227/57eea2f3/attachment.html>


More information about the Python-Dev mailing list