More Software posts
October 09, 2002
Messing with Python

In the past few days I've started to mess around with Python (2.2.1) a bit and I'm increasingly impressed. Perhaps it's not as elegant, I think, as scheme but it's a whole lot better than perl. Good library/module support for easily doing the sorts of things, like parsing xml and sending/serving HTTP, that are needed to build some classes of interesting apps these days. Very similar to Java but faster to write. My only quible so far would be with the GUI. I've used tk pretty extensively in the past, both from tcl and scheme, and I don't think it's as good as Swing. On the other hand it's certainly my choice for the P in LAMP.

Posted by Alex at October 09, 2002 10:17 PM
Comments
For Python GUIs check out http://www.wxpython.org/ Quite nice & robust. Posted by: Ken Rawlings on October 10, 2002 05:05 PM
That looks pretty nice. I'll have to try it out. Posted by: Alex on October 10, 2002 09:53 PM
Python makes a great P. Check out PyApache (@sourceforge) for a way to get mod_perl-style performance benefits whilst still writing standard CGIs that'll also work on the likes of IIS. (Annoyingly, requires a little bit of fiddling to compile on the latest versions of Python and Apache, but I use it happily for all my sites.) Also if you're doing lots of form-input stuff you may find the standard cgi module a bit cumbersome. I didm which is why there's an extensive replacement on my site, plug plug... Posted by: Andrew Clover on October 14, 2002 02:43 PM
I actually decided to go with mod_python for now. I've got (unfortunately) a bit of mod_perl experience and I like the way the handlers work. I'm still going to be faced with the separation of content and presentation problem. What's the best python solution for that? Posted by: Alex on October 15, 2002 09:06 PM
There are loads of sub-JSP style thingies for Python - . Webware's PSP is probably amongst the most mature, but Quixote is worth a look, and of course, YMMV. Posted by: Simon on October 23, 2002 05:34 AM
Gah, the URL that I entered got thrown away! Here is is again - http://www.python.org/cgi-bin/moinmoin/WebProgramming. This time, I'll preview. ;-) Posted by: Simon on October 23, 2002 05:53 AM
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?