Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » IronPython   (RSS)
Sorry, but there are no more tags available to filter with.

IronPython 1.0 is Now Available

IronPython 1.0 released here today. -- Paul ------------------------------------ This posting is provided "AS IS" with no warranties, and confers no rights.
Posted by Paul Cornell [MSFT] | 0 Comments
Filed under:

IronPython 1.0 RC1 is Now Available

Soma blogs about IronPython 1.0 RC1 and discusses IronPython project integration into Microsoft Visual Studio 2005 via the Visual Studio 2005 SDK . -- Paul ------------------------------------ This posting is provided "AS IS" with no warranties, and confers
Posted by Paul Cornell [MSFT] | 0 Comments
Filed under:

Learning IronPython #9: Classes

I can declare a class in IronPython as follows: # File name: MySimpleMathClass.py # Instantiate an instance of this class by calling the following: # import MySimpleMathClass # someObjectVariable = MySimpleMathClass.MySimpleMath() # or similar. class
Posted by Paul Cornell [MSFT] | 0 Comments
Filed under:

Learning IronPython #8: The if, while, and for Statements (and Array List Syntax)

Here's an example of the if statement: >>> x = 5 >>> if x > 6: ... print "x > 6" ... elif x > 5: ... print "x > 5" ... else: ... print "x <= 5" ... x <= 5 Here's an example of the while statement: >>> x = 1
Posted by Paul Cornell [MSFT] | 0 Comments
Filed under:

Learning IronPython #7: Running Script Files

To build upon my last post , you can run a script file by calling the execfile function and pass in the path and name of the script file. For example, you could create a file named BuildSearchPath.py in the c:\IronPython\MyModules folder with the following
Posted by Paul Cornell [MSFT] | 0 Comments
Filed under:

Learning IronPython #6: Creating and Working with Modules

Section 6 of the Python Tutorial has this to say about Python modules: "If you quit from the Python interpreter and enter it again, the definitions you have made (functions and variables) are lost. Therefore, if you want to write a somewhat longer program,
Posted by Paul Cornell [MSFT] | 2 Comments
Filed under:

Learning IronPython #5: Helpful Resources

Here are just a few that I found, both on Python and IronPython: Python Library Reference Python Tutorial Dive into Python (thanks, Bob!) Simple IronPython overview How to: integrate IronPython into Microsoft Visual Studio 2005 -- Paul ------------------------------------
Posted by Paul Cornell [MSFT] | 1 Comments
Filed under:

Learning IronPython #4: Using the Console, Calling the dir Function, Using the import Statement, and Exploring the sys Module

Now that you know how to start the console, let's start giving IronPython something to do. At the console prompt (make sure you see >>> at the command prompt, which means IronPython is ready to accept your commands), type the following (except
Posted by Paul Cornell [MSFT] | 0 Comments
Filed under:

Learning IronPython #3: Starting the Interactive Console

Once you've installed IronPython, you want to start writing some code, right? Well, first, get your bearings by starting the interactive console (which I'm seeing also referred to as "interactive mode" or sometimes just "the console"). This console is
Posted by Paul Cornell [MSFT] | 0 Comments
Filed under:

Learning IronPython #2: Installing IronPython

As I write this blog post, there are two options for getting and installing IronPython, depending on whether you have Microsoft Visual Studio 2005 installed or not. If you do not have Visual Studio 2005 installed, to get IronPython, visit the IronPython
Posted by Paul Cornell [MSFT] | 0 Comments
Filed under:

Learning IronPython #1: Introduction

Lots of folks in my organization have been talking about IronPython . (For those of you who don't know what this is, IronPython is the code name of an implementation of the Python programming language that targets the Microsoft .NET platform.) I started
Posted by Paul Cornell [MSFT] | 0 Comments
Filed under:
 
Page view tracker