Re: atexit handler in IDLE?

2013-01-15 Thread Steve Spicklemire
On Jan 15, 2013, at 10:22 AM, Mark Janssen wrote: > On Tue, Jan 15, 2013 at 6:25 AM, Steve Spicklemire wrote: >> I'm trying to get this program, which works on the command line, to run >> correctly in the IDLE environment: >> >> import atexit >> &g

atexit handler in IDLE?

2013-01-15 Thread Steve Spicklemire
Hello Pythonistas! I'm trying to get this program, which works on the command line, to run correctly in the IDLE environment: import atexit print "This is my program" def exit_func(): print "OK.. that's all folks!" atexit.register(exit_func) print "Program is ending..." When I run this

Re: ANN: SuPy - Script Sketchup with Python

2009-02-06 Thread Steve Spicklemire
Hi Greg, Hm... "SuPy not found on this sever." ;-( Is there a better URL.. or did I just check too soon? thanks, -steve On Feb 5, 2009, at 11:56 PM, greg wrote: SuPy 1.0 SuPy is a plugin for the Sketchup 3D modelling application that lets you script it in Python. http://www.cosc