A simple Tkinter demo to display a window with some buttons on it for a front end installer app. The buttons just quit in this example, but you can see the event handlers towards the bottom that would make it easy to tweak. I’m still looking for a …
I’m doing all my python development in Eclipse using the pydev plugins. At random and without warning, Eclipse keeps freezing on me! WTF. Here’s what I get when I kill it:
JVM terminated. Exit code=1
/usr/bin/gij
-Xms40m
-Xmx256m
-XX:MaxPermSize=128m
-Dosgi.sharedConfiguration.area=/usr/lib64/eclipse/configuration
-jar /usr/share/eclipse/startup.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/lib64/eclipse/eclipse
-name Eclipse
–launcher.library /usr/lib64/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.0.v20070606/eclipse_1017a.so
-startup /usr/share/eclipse/startup.jar
-exitdata 838010
-vm /usr/bin/gij
-vmargs
-Xms40m
-Xmx256m
-XX:MaxPermSize=128m
-Dosgi.sharedConfiguration.area=/usr/lib64/eclipse/configuration
-jar /usr/share/eclipse/startup.jar
This happens on Fedora 8 and …
Iterators in python are so easy. I saw some articles on random sites about building generators to do stuff, but in the end they were only trying to iterate through a file line by line so why make it harder on yourself. Declare an iterator of the type …
I need to talk to a little box that has an ip address and accepts tcp input to send on to a giant LED display. I’m going to send messages across it as if it were the stock market tickers streaming along, or like the rolling display in Times Square …