Freigeben über


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 where you can tell IronPython what to do.

If you have IronPython 1.0 Beta 7 installed for example, here's how you get started:

  1. Click Start, Run, type cmd, and click OK.
  2. Assuming you have IronPython installed on your C:\ drive in a folder named "IronPython," type the following to start the IronPython console:

c:\IronPython\IronPython-1.0-Beta7\IronPythonConsole.exe

You should be greeted with the following:

IronPython 1.0.60523 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>>

To exit the console, press Ctrl + Z, and then press the Enter key.

-- Paul

------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.