Skip to content Skip to sidebar Skip to footer

Embedding Python 3 - No Builtins?

After much hair loss, I'm looking for help. I'm embedding Python 3.3 into a simple app. One unusual aspect is Python isn't on the path, but it all seems to load OK. But for some

Solution 1:

Try it with the start symbol set to Py_file_input and use PyEval_GetBuiltins.

Edit: the correct dict key to set is "__builtins__".

Post a Comment for "Embedding Python 3 - No Builtins?"