My hobbyist coding updates and releases as the mysterious "Mr. Tines"

Sunday, 28 March 2010

EasyWPF 0.3.93

Having been made aware of the Python EasyGui project while reviewing "Hello World", I thought that maybe there should be an equivalent version for IronPython. So here is one (with just a minimal amount of fudging in places):

Plain unformatted code for easy cutting and pasting.

Save this as, and use

from EasyWPF import *

in place of

from easygui import *


Anonymous said...

I know this is an old blog, but I appreciate the work that you have put into this. One issue that I am having is with the fileopenbox. I continue to get "Value does not fall within the expected range." for "if dialog.ShowDialog():"

I will continue to try to track down the issue. This is in IronPython 2.7.3


Anonymous said...

I have narrowed it down to "dialog.InitialDirectory = initialdir"

I will work on it further.

Anonymous said...

Ok, apparently an error is thrown for intialdir = ".". Changing "if not initialdir : initialdir = "."" to "if not initialdir : initialdir = """ under fileboxsetup() fixes this issue.


Steve Gilham said...


I'll update the code appropriately later.