We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e9b55 commit d7d703aCopy full SHA for d7d703a
README.rst
@@ -50,6 +50,8 @@ Embedding Python in .NET
50
(internal, derived from ``MissingMethodException``) upon calling ``Initialize``.
51
Typical values are ``python38.dll`` (Windows), ``libpython3.8.dylib`` (Mac),
52
``libpython3.8.so`` (most other Unix-like operating systems).
53
+- Then call ``PythonEngine.Initialize()``. If you plan to use Python objects from
54
+ multiple threads, also call ``PythonEngine.BeginAllowThreads()``.
55
- All calls to python should be inside a
56
``using (Py.GIL()) {/* Your code here */}`` block.
57
- Import python modules using ``dynamic mod = Py.Import("mod")``, then
0 commit comments