10000 more info on Runtime.PythonDLL · pythonnet/pythonnet@4afa4bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 4afa4bd

Browse files
authored
more info on Runtime.PythonDLL
1 parent db765ca commit 4afa4bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ module:
4545
Embedding Python in .NET
4646
------------------------
4747

48-
- You must set `Runtime.PythonDLL` or `PYTHONNET_PYDLL` environment variable
48+
- You must set `Runtime.PythonDLL` property or `PYTHONNET_PYDLL` environment variable
4949
starting with version 3.0, otherwise you will receive `TypeInitializationException`.
50+
Typical values are `python38.dll` (Windows), `libpython3.8.dylib` (Mac),
51+
`libpython3.8.so` (most other *nix).
5052
- All calls to python should be inside a
5153
``using (Py.GIL()) {/* Your code here */}`` block.
5254
- Import python modules using ``dynamic mod = Py.Import("mod")``, then

0 commit comments

Comments
 (0)
0