Reputation: 65238
I would like to run ironpython as a script instead of compiling the ironpython code into an executable. is there a way to run ironpython as a script?
Upvotes: 4
Views: 7754
Reputation: 6493
For avoiding the full path, Add IronPython folder path in you environment variable PATH. Then launch cmd and type
ipy
Upvotes: 0
Reputation: 50970
Yes, the interpreter is installed in the IronPython sub-directory off of the Program Files folder. The name is ipy.exe
. So, if your script is myscript.py
:
C:> c:\Program Files (x86)\IronPython 2.7.1\ipy.exe" myscript.py
Upvotes: 5