Home > Articles > Web Development

  • Print
  • + Share This
Like this article? We recommend


In this article, you learned how to create a simple Windows desktop application using IronPython. By using the IronPython console, you can quickly create a mock or prototype application by simply typing the application code.

The example in this article taught you how to add .NET libraries and use Python code to interact with those libraries to create a simple Windows desktop application form with a button that responds to an event.

I recommend expanding on this article to include multiple application windows, controls, and events to really get the hang of adding events to controls and interacting as a user would with a more complex application interface.

You can save your application code to a file and execute the file from the IronPython command line. There are also ways to create an installer package for your application. Learn more about IronPython by visiting the IronPython online documentation reference at http://ironpython.net/documentation/.

Also, try loading the Python Tools package for Visual Studio from Microsoft and creating new Iron Python projects from within Visual Studio. You can also use the code from this example in a new IronPython application project from within Visual Studio to test that everything is working properly.

  • + Share This
  • 🔖 Save To Your Account