September 2006 - Posts
This sample shows how to use PowerShell commands from IronPython by invoking the PowerShell API(s) directly and also by using a nice Python helper class. The samples use both of these techniques to detect whether a host meets some of the minimum system requirements for playing Age of Empires III Trial edition. The readme.htm in the download ( download page : IronPython-1.0-Samples-IPPowerShell.zip) will get you started. By utilizing managed PowerShell API(s) from IronPython, it becomes downright easy to perform a runtime inspection of the system. As an example, you can determine how much memory your video card has installed on it using only a couple lines of IronPython code. To make working with PowerShell even easier, the “powershell.py” module...
This sample, written by Brad Dodson, is a music player written in IronPython that uses DirectShow, Windows Presentation Foundation, and COM Interop. The readme.htm in the download ( download page : IronPython-1.0-Samples-IronTunes.zip) will get you started. When launched, IronTunes presents you with a graphical interface from which you can load any number of music files and begin playing them. Further, you can search through your loaded music collection by typing inside the search field and see your playlist filtered as you type. IronTunes provides the basic playback functionality (play, pause, volume control) by using DirectShow COM APIs from IronPython via COM interop. Read More...
This sample, written by Matt Gruskin, is a frequency modulation synthesizer that uses DirectX and System.Windows.Forms. The readme.htm in the download ( download page : IronPython-1.0-Samples-FMsynth.zip) will get you started. In the FMSynth UI you can quickly generate tones by clicking on the provided piano keyboard or take more control by specifying a precise frequency and wave type. You can combine several carrier and modulator wave forms together to form more complex musical sounds and effects. You can save your “synth” in an XML file. FMSynth also comes with several sample synth files in the “synths” subfolder which you can load and experiment with. Read More...
This sample written by Ravi Chugh is an IronPython program that builds on top of System.Windows.Forms to create a fun slide puzzle game using maps. The readme.htm file in the download ( download page : IronPython-1.0-Samples-Puzzle.zip) will get you started. The puzzle game comes with several maps (games) that you can start with. If you want more challenging maps, Slide Local gives you the ability to choose or create your own map to play with. The map tiles the program uses are pulled from Virtual Earth tile servers using the System.Net APIs. If the caching option is selected, all downloaded map tiles are saved to the file system, allowing tiles to be rendered much faster the second time around. Enabling caching also allows you to continue to...
This utility written by Jocelyn Turcotte is an IronPython program that leverages Windows Presentation Foundation (WPF) and System.Windows.Forms to create a handy utility that graphically displays disk usage information. The readme.htm file in the download ( download page : IronPython-1.0-Samples-DiskUse.zip) will get you started. When the application is first launched, a file dialog prompts you to pick a base directory. This is the directory that will be analyzed. Once a base directory is chosen, the application scans the file system to retrieve the names and sizes of subdirectories and files. The utility displays the directory and file information with a treeview in the left pane and a graphical presentation of the relative file size information...
This tutorial, written by Martin Schray, consists of a set of IronPython programs that show how to use the Windows controls found within System.Windows.Forms. These IronPython tutorial programs vary greatly in functionality and include: Several “Hello World” applications showing how to leverage core Windows forms classes An application with an embedded web browser A small application based on Windows MapPoint Web Services that provides a map, given a location Another application based on MapPoint that lets the user get a route map given start and end points The tutorial.htm file in the download ( download page : IronPython-1.0-Samples-WinFormsMapPoint.zip) will get you started. This sample builds from simple "Hello World" applications...
The screen cast videos of the various speakers at the Lang.Net 2006 Compiler Symposium are now available: http://www.langnetsymposium.com/speakers.asp . Read More...
This sample shows how to use PowerShell commands from IronPython by invoking the PowerShell API(s) directly and also by using a nice Python helper class. The samples use both of these techniques to detect whether a host meets some of the minimum system requirements for playing Age of Empires III Trial edition. The readme.htm in the download ( download page : IronPython-1.0-Samples-IPPowerShell.zip) will get you started. By utilizing managed PowerShell API(s) from IronPython, it becomes downright easy to perform a runtime inspection of the system. As an example, you can determine how much memory your video card has installed on it using only a couple lines of IronPython code. To make working with PowerShell even easier, the “powershell.py” module...
This sample, written by Brad Dodson, is a music player written in IronPython that uses DirectShow, Windows Presentation Foundation, and COM Interop. The readme.htm in the download ( download page : IronPython-1.0-Samples-IronTunes.zip) will get you started. When launched, IronTunes presents you with a graphical interface from which you can load any number of music files and begin playing them. Further, you can search through your loaded music collection by typing inside the search field and see your playlist filtered as you type. IronTunes provides the basic playback functionality (play, pause, volume control) by using DirectShow COM APIs from IronPython via COM interop. Read More...
This sample, written by Matt Gruskin, is a frequency modulation synthesizer that uses DirectX and System.Windows.Forms. The readme.htm in the download ( download page : IronPython-1.0-Samples-FMsynth.zip) will get you started. In the FMSynth UI you can quickly generate tones by clicking on the provided piano keyboard or take more control by specifying a precise frequency and wave type. You can combine several carrier and modulator wave forms together to form more complex musical sounds and effects. You can save your “synth” in an XML file. FMSynth also comes with several sample synth files in the “synths” subfolder which you can load and experiment with. Read More...
More Posts
Next page »