Re: [Python.NET] Setting PYTHONPATH from code

2011-02-10 Thread Oleksii Bidiuk
Hi Sharon, What do you want to achieve with this? If you want to provide path for loading your own modules you can change the sys.path value by e.g. running a 'initialization' script with import sys sys.path.insert(0, 'your/own/path') You can build up the script above in C# by inserting the path

[Python.NET] Setting PYTHONPATH from code

2011-02-10 Thread Sharon Rozenblum
Hi! Can someone tell me how to set PYTHONPATH variable in code when working with Python.Runtime.dll without changing the value in the system variables before. Thanks SHARON PLEASE NOTE: The information contained in this electronic mail message is intended onl