Ferry Boender
Programmer, DevOpper, Open Source enthusiast.
If you’re trying out Mako (the templating language) and you happen to get this error: Traceback (most recent call last): File “/usr/lib/python2.4/site-packages/CherryPy-3.0.1-py2.4.egg/cherrypy/_cprequest.py”, line 551, in respond cherrypy.response.body = self.handler() File “/usr/lib/python2.4/site-packages/CherryPy-3.0.1-py2.4.egg/cherrypy/_cpdispatch.py”, line 24, in __call__ return self.callable(*self.args, **self.kwargs) File “./pua.py”, line 82, in index return Template(‘index’, {‘title’: ‘Title!’}) File “./pua.py”, line 35, in Template return(t.render(**vars)) […]
(This article is also available here) I’ve recently written a web application using Python using the following libraries: CherryPy v3.0.2 Mako v0.1.8 SQLAlchemy v0.3.7 CherryPy has a built-in web server which you can use during development and for actually running the application. I already had an Apache with some old PHP programs however, so I […]
I have given up on PHP. I will still need to use it at my job, but in private I refuse to even touch it anymore. Lately, I’ve been busy creating a framework, or a bunch of libraries actually, which where meant to negate some of PHP’s worst qualities. It had better error reporting (the […]
Gadfly is a SQL Relational Database that supports a large set of the SQL standard. It keeps the database in-memory while operating on it. It’s also completely written in Python (with the use of some Python/C modules). I don’t know why it’s cool, but it is.
Nice article on distributing your python applications and libraries with distutils on linux.com
The Python Papers is a free e-journal, including industry and academic articles. We are proud of the diversity of content in our journal, covering Python User Groups from around the world, conferences and other events, open-source projects and the use of Python in commercial organisations.
Most people know about this one: >>> from this import * “”” The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren’t special […]
[user@jib]~/dev/PERS/floc$ ./floc.py –stats Statistics on the index: Known files: 0 Known words: 0 Known dirs : 0 [user@jib]~/dev/PERS/floc$ ./floc.py –check-index /home/user/notes/ [user@jib]~/dev/PERS/floc$ ./floc.py –update-index [user@jib]~/dev/PERS/floc$ ./floc.py –stats Statistics on the index: Known files: 108 Known words: 5103 Known dirs : 31 [user@jib]~/dev/PERS/floc$ ./floc.py –query “vakantie” /home/user/notes/personal/vakantie/research.txt /home/user/notes/work/organisatorisch/todo.otl /home/user/notes/work/development/zx/wiki/pmwiki_status [user@jib]~/dev/PERS/floc$ cat /home/user/notes/personal/software/laptop_stats HP Compaq NC6120 P740 […]
One of my main issues with Python was the terrible documentation. The module reference manual often omitted various methods and other details. It’s even completely down right now. Turns out though that this problem is quite easily solved by the ‘pydoc’ utility. I’d already used pydoc to generate documentation for my own programs, kind of […]
DataQ release v0.3. Changes in this release include: Queues can now be spooled to persistant storage device upon certain events (queue writes, server shutdown). Server now logs its PID in a PID file. Rewrite of configuration parser. Various small bugfixes in server. Various code cleanups in server. Bugfix in test case 4.
Search this blog:
The text of all posts on this blog, unless specificly mentioned otherwise, are licensed under this license.