- Notifications
You must be signed in to change notification settings - Fork749
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
44cc5af
2f69bd3
243dace
353bb26
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -85,6 +85,9 @@ Example | ||
static void Main(string[] args) | ||
{ | ||
// The Python library can also be set with the `PYTHONNET_PYDLL` env var | ||
// or dynamically with a library like https://github.com/losttech/WhichPython | ||
Runtime.PythonDLL = "python38.dll"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I really don't want to give people the idea that this is the way to go. Maybe we can point them toward (or include)https://github.com/losttech/WhichPython? Maybe give a note above to set the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Yeah, I wasn't really keen on this either, but I figured since this was one of the examples given in the paragraph above it that this would be at least acceptable. | ||
PythonEngine.Initialize(); | ||
using (Py.GIL()) | ||
{ | ||