[Python.NET] Setup sys.path in Embedded Application
fernandez_dan2 at hotmail.com
Fri Aug 7 03:00:11 CEST 2015
Thanks for the input. I wanted my bootstrapper for my C# application to setup Python Engine but I guess I could create like a startup script that it calls to sys path and anything else I need to.
To: pythondotnet at python.org
From: mclaveau mc at mclaveau.com
Date: Thu, 6 Aug 2015 10:38:44 +0200
Subject: Re: [Python.NET] Setup sys.path in Embedded Application
Le 03.08.15 23:33, Daniel Fernandez a
I’m looking at embedding python in my .NET
app. I was wondering what is the best practice for adding
additional paths to the sys.path? I want the standard python
sys path but additional paths for my own python scripts. Do I
just Py.Import(“sys”) and then add it there or is there some
Had you try :
at beginning of your scripts?
Python.NET mailing list - PythonDotNet at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PythonDotNet