[Python.NET] Setup sys.path in Embedded Application

Daniel Fernandez fernandez_dan2 at hotmail.com
Mon Aug 3 23:33:45 CEST 2015


Hi Everyone,

 

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 other way?

 

Thanks.

 

Danny

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20150803/f18ba6f1/attachment.html>


More information about the PythonDotNet mailing list