[IronPython] ipy.exe not found -- sorry, haven't programmed on windows since 90s
Dave Fugate
dfugate at microsoft.com
Thu Apr 16 02:10:16 CEST 2009
Add "%ProgramFiles%\IronPython 2.0.1 " to %PATH%, not "%ProgramFiles%\Iron Python 2.0.1".
Also, change '"c:\program files\syncfusion\essential studio\7.1.0.30\assemblies\3.5"' to 'r"c:\program files\syncfusion\essential studio\7.1.0.30\assemblies\3.5"'.
Dave
-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Thomas Gagne
Sent: Wednesday, April 15, 2009 4:41 PM
To: users at lists.ironpython.com
Subject: [IronPython] ipy.exe not found -- sorry, haven't programmed on windows since 90s
I apologize for the next several questions. I'm want to play with a .net library but don't want to doit in C# or VB. I prefer dynamic languages.
Anyway, I have a few questions I'm struggling to find complete examples for.
First, in my test directory inside either cmd or powershell, ipy.exe isn't found when I enter it on the command line. I tried changing the PATH environment variable:
setenv PATH=%PATH%;c:\Program Files\Iron Python 2.0.1\
and it shows in my environment, but still when I enter "ipy" at the command line it isn't found. What am I missing?
Second, I need to add the directory with the DLLs of the library I want to play with. I think I need:
import clr
import sys
sys.path = sys.path + ["c:\program files\syncfusion\essential
studio\7.1.0.30\assemblies\3.5"]
clr.AddReference("syncfusion.pdf.base")
Does that make sense?
If that's right, then I'm wondering how I can test to see if anything loaded, since PdfDocument() can't be found.
More information about the Ironpython-users
mailing list