Pmw problem in cygwin with Tkinter

2006-01-05 Thread Stewart Midwinter
, -- Stewart Midwinter [EMAIL PROTECTED] [EMAIL PROTECTED] Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 -- http://mail.python.org/mailman/listinfo/python-list

Re: converting from shell script to python

2006-01-05 Thread Stewart Midwinter
Greg Ewing (using news.cis.dfn.de) wrote: Alternatively, you can substitute things from a dictionary instead of a tuple: vars = {'ROOTDIR': '/usr/lib'} CLASSPATH = \ %{ROOTDIR}s/a/a.jar:%{ROOTDIR}s/b/b.jar:%{ROOTDIR}s/c/c.jar % vars Arriving late at the party (found this while

subprocess problem in cygwin with Tkinter

2006-01-04 Thread Stewart Midwinter
with Cygwin python runs fine. any ideas? thanks, -- Stewart Midwinter [EMAIL PROTECTED] [EMAIL PROTECTED] Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad AIM:midtoad1 -- http://mail.python.org/mailman/listinfo/python-list

Popularity of blogging tools used by python programmers

2005-10-20 Thread Stewart Midwinter
I've made a comparison of the relative popularity of blogging tools used by python programmers. I was surprised by the number of python developers not using python for their blogs; isn't that like GM employees driving Toyota cars? See my post at: http://midtoad.homelinux.org/wp/?p=117 S --

suggestion for Python graphing package, please

2005-08-29 Thread Stewart Midwinter
looked at a) either don't output to a file, or b) are very old (3-5 years), or c) don't run on Windows. I don't actually care if the library itself is written in Python or c++ or something else. Any suggestions? thanks,-- Stewart Midwinter[EMAIL PROTECTED][EMAIL PROTECTED

how to calc the difference between two datetimes?

2005-05-08 Thread Stewart Midwinter
this: time0 = 2005-05-06 23:03:44 time1 = 2005-05-07 03:03:44 timedelta = someFunction(time0,time1) print 'time difference is %s seconds' % timedelta. Which function should I use? confusedly yours, -- Stewart Midwinter [EMAIL PROTECTED] [EMAIL PROTECTED] Skype: midtoad -- http://mail.python.org

Re: how to calc the difference between two datetimes?

2005-05-08 Thread Stewart Midwinter
thanks Robert, those 4 lines of code sure beat the 58 of my home-rolled time-date function! cheers S -- http://mail.python.org/mailman/listinfo/python-list

App suggestion please: blog / forum software in Python

2005-04-26 Thread Stewart Midwinter
that? I currently use mySQL with CherryPy, but I'll add another db if necessary. cheers, -- Stewart Midwinter [EMAIL PROTECTED] [EMAIL PROTECTED] Skype: midtoad -- http://mail.python.org/mailman/listinfo/python-list

Web application toolkit recommendation?

2005-04-04 Thread Stewart Midwinter
to be the least painful route? I'm already using Snakelets for a private internet blog, and would use this if there were a database access module available. I don't want to hear anything about Zope - it's way too complex for my needs or desires. Other than that, fire away! thanks, -- Stewart

Python modules for image / map manipulation?

2005-04-04 Thread Stewart Midwinter
. thanks, -- Stewart Midwinter [EMAIL PROTECTED] [EMAIL PROTECTED] Skype: midtoad -- http://mail.python.org/mailman/listinfo/python-list

Re: Little Q: how to print a variable's name, not its value?

2005-03-30 Thread Stewart Midwinter
your method would be useful in that situation as well, no? cheers, -- Stewart Midwinter [EMAIL PROTECTED] [EMAIL PROTECTED] Skype: midtoad -- http://mail.python.org/mailman/listinfo/python-list

Can a method in one class change an object in another class?

2005-03-05 Thread Stewart Midwinter
, a): pass def __call__(self, a): a = 'aa' return a if __name__ == '__main__': app = first() app.update() thanks, -- Stewart Midwinter [EMAIL PROTECTED] [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list