How to set up import path in Visual Studio IronPython projects

I created the IronPythonIntegration solution that comes with the Visual Studio 2005 SDK (as described in http://www.izume.com/2007/10/13/integrating-ironpython-with-visual-studio-2005 ) and now I can use IronPython projects inside Visual Studio 2005. However, to import a Python file from the standard library, I need to first include these two lines:

import sys
sys.path.append('c:\Python24\lib') 

and similarly for any other folders from which I want to import.

Does anyone know a way to configure import paths so that all IronPython projects pick them up automatically?

+3
source share
1 answer

IRONPYTHONPATH "c:\Python24\lib". ( - ).

+2

Source: https://habr.com/ru/post/1698957/


All Articles