Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98524

Using Ironpython in Visual Studio Code

$
0
0

I trying to use IronPython in Visual Studio Code. How do I point Visual Studio Code to my IronPython (C:\Program Files (x86)\IronPython 2.7\ipy.exe). I've searched the forums and was unsuccessful. I've tried changing visual studio code settings to point to the ipy.exe to no avail

"python.pythonPath": "C:\Program Files (x86)\IronPython 2.7\ipy.exe"

When I type the code below I get an error stating: Unable to import 'clr'

import clr
clr.AddReference('Microsoft.Office.Interop.Excel')

Viewing all articles
Browse latest Browse all 98524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>