
I don't have an answer for that.
Then I think the doc is wrong. I do the following:
#ifdef _WIN32
char separator = ';';
#else
char separator = ':';
#endif
It is the right way.
The Python interpreter can read zip files.
This is what I do myself. I zip the entire Python library and embed it inside my application. Then I extract it at run-time in a temporary directory, then I point the Python interpreter to it using Py_SetPath.
I hope you don't mind such newbie questions...
Not at all.
Extending and embedding and distributing Python within an application seems to be the most common use case. Once you know what to do, it is actually very simple. But it is not covered in the documentation, nor are there any examples. I only succeeded because I actually read the CPython source code.
Maybe, some day, somebody will feel generous and publish an example of how to do that. Until then, this is the best place to ask questions.
-- Francis Bolduc, B.Sc. CM-Labs Simulation Inc.
participants (1)
-
Francis Bolduc