Re: need some help in serving static files inside a wsgi apps

2008-05-24 Thread kib
pd = WSGIServer(('localhost', 8080), WSGIRequestHandler) httpd.set_app(urls.urls) It does not use 'make_server()' so how can I adapt it ? I finally managed to work with static files with a little hack, but it's ugly because I'm reading each static file per request. Kib. -- http://mail.python.org/mailman/listinfo/python-list

Re: Processing in Python

2008-05-20 Thread kib
A PyQt4 version here : http://dev.nodebox.net/wiki/Qt , but it's really buggy (no one seems to have fixed it till 5 months). There's even a PyGtk clone of NodeBox here : http://shoebox.sollec.org/ I'll be happy to work on one of these projects, see you : Kib. -- http://

Re: Psyco alternative

2008-04-24 Thread kib
Christian Tismer a écrit : [EMAIL PROTECTED] wrote: Diez B. Roggisch: the author says that the approach is flawed, so at *some* point it will be discontinued. Can't Psyco be improved, so it can compile things like: nums = (i for i in xrange(20) if i % 2) print sum(nums) Although my mai

Re: checking a string against multiple patterns

2007-12-18 Thread kib
tomasz a écrit : > Is there an alternative to it? Am I missing something? Python doesn't > have special variables $1, $2 (right?) so you must assign the result > of a match to a variable, to be able to access the groups. > Hi Thomasz, See ie : http://www.regular-expressions.info/python.html [Se

Re: Finite State Machine GUI editor in python?

2007-12-16 Thread kib
Hendrik van Rooyen a écrit : > I have spent some time googling and on wiki and came up with > pyFSA in python. It may end up being useful, but it is not directly > what I am looking for, as there is no GUI that I can see. > > I know about SMC, but it is not Python, and I can't find the gui. > > T