Datasheet

16
CHAPTER 1 Discovering ironPython
FIGURE 17: The console also provides the means to obtain precise help about any module, keyword, or topic.
4. Select the end of the string that appears in the Variable Value field. Type
;C:\Program Files\IronPython 2.6 and click OK. Make sure you modify this path to
match your IronPython configuration.
5. Click OK three times to close the Edit System Variable, Environment Variables, and System
Properties dialog boxes. When you open a command prompt, you’ll be able to access the
IronPython executables.
Executing an Application from the Command Prompt
Normally, you execute an application by typing IPY <Python Filename> and pressing Enter. Give it
a try now. Open a command prompt, type
CD \Program Files\IronPython 2.6\Tutorial, and
press Enter. You’re in the sample files supplied by IronPython. Type
IPY WFDemo.py and press Enter.
You’ll see a window displayed. When you click your mouse in the window, you see the word Hello
548592c01.indd 16 2/24/10 12:47:13 PM