There is a bunch of Python based web framework. So much that it’s a really hard choice to do. Most of them came w/ a special templating language, and a different approach.
Dilemma 1
I really think most of the frameworks, have nothing to do with templating. We should give up with that mixOmatic. A framework is [...]
Tags: Python, twisted, Webware, Zope
admin June 20th, 2004
I have been working for impaired people for a while, and today i need to write a little program that use ‘Text to Speech’. This should say to the user what is happening in the house like ‘TV is on’ and so on .. It tooks me 2 minutes to discovers pyTTS, which is [...]
Tags: Python, tts
admin May 25th, 2004
Regis just release the first version of python alsa module. Beside this is a part of a really large program, i ‘ve been working on for a while, i don’t really know this part. Phil and Regis decided to distribute it alone.
For more infos check:
http://base-art.net/wk/Article/6.html Phil blog
http://respyre.org/pyalsa.html PyAlsa webpage
– Enjoy sound :)
Tags: alsa, Python
admin May 8th, 2004
http://wingide.com is a really kool IDE for python. I usually write code w/ emacs but i tested this ..
More comments to come .
Tags: ide, Python
admin April 17th, 2004
Singleton is one of the well known design pattern.
In python, most of us use the Borg Singleton like, which is not a true Singleton, since only the ’state is shared’. In fact, you use distinct objects but they share the same __dict__.
Yesterday, i played a bit w/ python metaclass. Beside this can be really usefull [...]
Tags: pattern, Python
admin March 30th, 2004
Tomorrow, i will teach Python to my students (i work in a school as developper) so, sometimes someone ask me for a python introduction. I usually make my slides w/ OO or full html + custom CSS. Today while trying to build the slides i remember that i’ve already found
Pylize .
I do the same with [...]
admin February 24th, 2004
This isn’t really new, but i need to look at closer the aspect programming. Logilab aspects module seems to provide a great way to solve this kind of trouble.
This kind of programming need a total ‘twist’ of mind to do a total switch. Despite this seems to be used in many Java project, i haven’t [...]
Tags: aop, Python
admin January 13th, 2004
After looking at several way to build custom webapps in python, i tested several things :
Zope alone
Zope + CMF
Plone
Webware + Cheetah or PSP
Webware + Modeling + ZPT ..
And my conclusions right now is: SQLObject is really a kool SQL Api since you can use it very easily. For the template i really think that ZPT [...]
Tags: cheetah, sqlobject, Webware, Zope, zpt
admin January 13th, 2004
I always used Emacs for Python editing. And usually i use the ‘dabbrev-expansion’ to use auto-complete feature. After a talk w/ Phil I discover http://www.python.org/cgi-bin/moinmoin/EmacsPythonCompletion (py-complete lisp module).
This seems to be a cool stuff but i get the same error as Phil:
>>> Traceback (most recent call last):
File “<stdin>”, line 1, in ?
NameError: name ‘__py_complete_string’ is [...]
Tags: emacs, Python
admin December 29th, 2003
First it’s my birthday today (19/12) .. I am 29 years old .. Oh my god and still playing w/ computer like a kid :)
So my playground today was SQLObject. Despite Big (author of Modeling is one of my best friend, and I have been for a long time the only debugger of this stuff [...]
Tags: Python, sqlobject
admin December 20th, 2003