MiOsem

March 17th, 2011

Background

I was supposed to give a talk about Python as a computational programming tool. The audience was my colleagues, and they had never programmed in python before. I decided to put together a tool that could be used to demonstrate code, that allowed me to run code, update and rerun code. The result of that is MiOsem, a tool that allows you to open a folder filled with Python example files, and go through them and run them. The files are displayed in the left half of the window, and the result of running the code is displayed in the right half of the window.

Swedish variant

English variant

Download MiOsem

MiOsem comes in two flavours, an English variant and a Swedish variant. Download the linguistic version that you prefer and unzip it. That’s all. No installation. It’s just ready to go as it is. Run the file MiOsem.pyw that you find in the folder that is the result of unzipping the zip archive. There is a help text available in the program. The help text is a bit brief. See the examples below for understanding the tool. You need a Python interpreter. Tested with Python 2.5.

Swedish variant

English variant

Download Example Talk

The examples given here are actually the same talk, in an English and a Swedish version. Besides a Python interpreter, you also need the modules/packages Numeric and scipy if you want the later parts of the exaple to work. Some files in the example has the text “Run this in IDLE!!!”. Those files either just do not work under MiOsem or make MiOsem crash, or do those things occationally. I have not been able to find out why. Download the linguistic version that you prefer and unzip it. That’s all. No installation. Open the folder that is the result of unzipping the zip archive in MiOsem. You will get a buch of extra menus. Try those, and read the help text that is available in the program.

Known bugs:

Apart from those mentioned under Download Example Talk above, examples that use tkinter will most likely not work as intended.