Piet
Piet copied to clipboard
Does this work anymore?
I've been trying unsuccessfully to run this with Python 2.7 but the current version of wxPython doesn't support 2.7. I see the program is 10 years old now, so am wondering whether it can still be run with Python 3?
I was able to run this in Python 3.11 and wx version 4.2.1 with only minor tweaks to the Mondrian class:
changed the render method's xrange term to range
explicitly casted the i and j variables within the render method as integers
explicitly casted the elements inside of the bounds instance variable as integers
Many thanks, I'll try this!