FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: Add different methods to reference Python DLL · pythonnet/pythonnet@2f69bd3 · GitHub

Repository navigation

Commit 2f69bd3

Browse files
committed
doc: Add different methods to reference Python DLL
1 parent 44cc5af commit 2f69bd3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎doc/source/dotnet.rst‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ These classes include PyObject, PyList, PyDict, PyTuple, etc.
1515
At a very high level, to embed Python in your application one will need
1616
to:
1717

18-
- Reference ``Python.Runtime.dll`` (e.g. via a ``PackageReference``)
18+
- Reference ``Python.Runtime.dll`` (e.g. via a ``PackageReference``,
19+
the ``Runtime.PythonDLL`` property or the ``PYTHONNET_PYDLL``
20+
environment variable)
1921
- Call ``PythonEngine.Initialize()`` to initialize Python
2022
- Call ``var mod = PyModule.Import(name)`` to import a module as ``mod``
2123

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL