Part IIntroducing IronPythonCHAPTER 1: Discovering IronPythonCHAPTER 2: Understanding the IronPython Basics548592c01.indd 1 2/24/10 12:47:07
10 CHAPTER 1 Discovering ironPythonBuilding the Binaries from ScratchYou may eventually want to build the IronPython binaries from scratch. The no
Understanding the Dynamic Language Runtime 11You should be able to use some third-party libraries with IronPython. At the time of this writing, you
12 CHAPTER 1 Discovering ironPythonCreates an environment where sharing of objects and libraries between languages is possibleMakes it possible
Using the IronPython Console 13Notice that the top of the window tells you which version of IronPython you’re using and which version of the .NET F
14 CHAPTER 1 Discovering ironPythonLet’s say you have no idea of what you want to find. Console help provides you with a list of words you can type
Using the IronPython Console 15FIGURE 16: Drill down into help to find topics of interest.548592c01.indd 15 2/24/10 12:47:12 PM
16 CHAPTER 1 Discovering ironPythonFIGURE 17: The console also provides the means to obtain precise help about any module, keyword, or topic.
Using the IronPython Console 17displayed at each click point, as shown in Figure 1-8. If you look at the command prompt window at this point, you’l
18 CHAPTER 1 Discovering ironPython–s: Specifies that the interpreter shouldn’t add the user site directory to sys.path.–S: Specifies that the inter
Using the IronPython Console 19Working with the –X: Command Line SwitchesIn addition to the standard command line switches, you also have access to
548592c01.indd 2 2/24/10 12:47:08 PM
20 CHAPTER 1 Discovering ironPythonModifying the IPY.EXE Environment VariablesIPY also supports a number of environment variables. The following l
Creating Your First Application 21CREATING YOUR FIRST APPLICATIONAfter all this time, you might have started wondering whether you would get to wri
22 CHAPTER 1 Discovering ironPythonFIGURE 110: The output of the example is a simple equation.USING IRONPYTHON CONSTRUCTIVELYThis chapter has i
Discovering IronPythonWHAT’S IN THIS CHAPTER?Understanding why you want to add IronPython to your developer toolboxObtaining and installing IronPyt
4 CHAPTER 1 Discovering ironPythonFinally, this chapter takes you through the process of creating a simple application. No, this isn’t going to be
An Overview of IronPython 5environmental conditions. (You’ll discover many other dynamic language advantages as the chapter progresses.) Unfortunat
6 CHAPTER 1 Discovering ironPythonAn extensive array of standard librariesFull library support using hierarchical packages (a concept that is al
Getting IronPython 7An interesting use of IronPython is as an application testing tool. In fact, some developers use IronPython exclusively for thi
8 CHAPTER 1 Discovering ironPython(Optional) Visual Studio 2005 or Visual Studio 2008 (your system must meet the prerequi-sites for this softwar
Getting IronPython 9 2. Read the licensing agreement, check I Accept the Terms in the License Agreement, and then click Next. You’ll see the Cust
Comments to this Manuals