Jacob wrote: > Sometines I write small scripts to, say, get the size of and create > thumbnails of and upload some jpegs and a file containing the image names > and size info. The info file gets parsed and put into a database > for use on a website. Anyone know if this kind of stuff can be done > on Win* and *nix with the same python script? Can python be used with > Apache or does one need to run Zope? > Yes you can use python with apache. There are also several modules that use it in ways analogous to mod_perl. Unfortunately the last time I tried those they were still a bit flakey, from what I hear on the mailing lists mod_snake is just about there. I've personally become somewhat fascinated by WebKit which is a longrunning Application Server and Twisted which is an asynchronous framework for network applications, however I've been occupied with other projects and have not yet had a chance to dive in to either as deeply as I might like.
>From the number of small comments saying something like #this is a workaround for win32 I'm guessing that interoperability is not guaranteed in any case, but mostly not a problem either. As far as I can tell Zope is one of those things that if you need it you know it and nothing else will quite do the job. Judging from the sheer number of different web templating frameworks for python I'm guessing that the wheel has been reinvented in the usual bewildering variety that only a truly flexible language can provide. refs: http://webware.sourceforge.net #web application framework http://twistedmatrix.com #twisted web application framework http://reportlab.sourceforge.net #generating pdf's from python
