views:

84

answers:

2

Hi, I have few python scripts of which one is to be executed in IronPython interpreter. How to find the installation path of IronPython. I searched the registry. To my surprise, it was not there.

A: 

can you do a search for ipy.exe?

Russ Cam
+1  A: 

Try this:

import sys
print sys.executable

Disclaimer: I don't know if it will work on IronPython.

nosklo
This works for IronPython 2.0, so presumably "and later" as well
Steve Gilham