Post thumbnail of TKinter GUI demo for python
date9 January 2009
Continue reading TKinter GUI demo for python

TKinter GUI demo for python

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 …

Post thumbnail of Eclipse freezes randomly using pydev
date8 January 2009
Continue reading Eclipse freezes randomly using pydev

Eclipse freezes randomly using pydev

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 …

Post thumbnail of Iterators in python are about as easy as “hello world” in most other languages
date28 December 2008
Continue reading Iterators in python are about as easy as “hello world” in most other languages

Iterators in python are about as easy as “hello world” in most other languages

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 …

Post thumbnail of Simple sockets to talk to a scrolling display using python
date7 November 2008
Continue reading Simple sockets to talk to a scrolling display using python

Simple sockets to talk to a scrolling display using python

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 …

 Page 5 of 5 « 1  2  3  4  5 
Powered by Wordpress   |   Lunated designed by ZenVerse

Valid XHTML 1.0 Transitional