8000 Update documentation to reflect API changes by TheJanzap · Pull Request #2439 · pythonnet/pythonnet · GitHub
[go: up one dir, main page]

Skip to content

Update documentation to reflect API changes #2439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: Create separate bullet point for Python DLL
  • Loading branch information
TheJanzap committed Aug 27, 2024
commit 243daceef6ff15c4e5b286e98f1ff2ccaba1cf72
6 changes: 3 additions & 3 deletions doc/source/dotnet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ These classes include PyObject, PyList, PyDict, PyTuple, etc.
At a very high level, to embed Python in your application one will need
to:

- Reference ``Python.Runtime.dll`` (e.g. via a ``PackageReference``,
the ``Runtime.PythonDLL`` property or the ``PYTHONNET_PYDLL``
environment variable)
- Reference ``Python.Runtime.dll`` (e.g. via a ``PackageReference``)
- Set the Python library the code should run with via the ``Runtime.PythonDLL``
property or the ``PYTHONNET_PYDLL`` environment variable
- Call ``PythonEngine.Initialize()`` to initialize Python
- Call ``var mod = PyModule.Import(name)`` to import a module as ``mod``

Expand Down
0