Lindenmayer Systems using Python

21.12.2007 by Kerim in natural | python | Algorithms

A few days ago i posted some code to create screens with stars and galaxies. Today i introduce a new part usable for creating Lindenmayer Systems.


Starfields and Galaxies with Python

19.12.2007 by kerim in natural | pygame | python | tutorial | Algorithms

A long time ago i spend a lot of my resources programming fractals and “natural” phenomenons. Since my last adventure with pygame i was playing around with the idea of implementing some algorithms of old times in python anew and use pygame to test them. A small module that creates screens with stars on it is what i will speak about here.


ImageResize on the web using cherrypy

07.12.2007 by kerim in python

The idea:
A simple webbased application that will resize any image of yours immediately and give it back to you.


Printing the content of a directory in windows

26.09.2007 by kerim in tools

Do you remember the good old times when you used to print the results of a simple “DIR” command ? This “feature” has been absent since Windows 95. Of course you still can start the command line and issue the dir command but normally printers are managed by windows these days and do not have to reside on “lpt1:”.


Restart applications in python

24.09.2007 by kerim in python

I wrote a small script that allows for an application to restart. Perhaps it is usefull for others. There are several use cases like “autoupdating” or changes in preferences in the program that require restarts.


Our Journey to a blog with django - Part 3: Lessons learned during coding

14.09.2007 by azarai in django | python

This time i’ll talk about my experiences made by building our blog/tiny cms system. It’s still in development as some features are missing i’d came up since Part 1 and like to implement, but its already in a useful working state and it urged me to switch :-) The code will be published when i am sure where to host svn and which open source licence i’ll use.


Our Journey to a blog with django - Part 2: The basic Model

30.07.2007 by azarai in django | python

This time i am going to define our model for a basic system. The basic version should handle content i.e. blog posts and supports tagging for them. All other feature will come later and get their own post.


Our Journey to a blog with django - Part 1: The Requirements

21.07.2007 by azarai in django | python

At the very beginning of our blog, we had to decide if we are going with a self written bloglike system or a mature existing one. After some discussion a self written was out of scope back then and so i evaluated a few blog systems and finally settled with serendipity. But it was a compromise as most of the software were to bloated with stuff we probably never use and complicated to adjust our needs (php sucks :-) ) or imho had a bad software design. Lately we got bugged to much and in particular i had the idea of redesigning the site again and didn’t feel like learning to customize s9y. That was the resurrection of writing an own system. It was clear from the beginning it has to be with python and django as we both were very pleased with the concept and working of this combo. So i did some research if someone has already done this and found some solutions with the most interesting by Dave. Hes offering his source via svn so one can look how he did it. I took a look and found it straight forward, which got me started playing around for a while.


Imago - An Ajax Image Gallery - New supporting Tool

14.07.2007 by azarai in Javascript | imago | tools

Recently i had the need of just putting the images in one directory into a Imago Image Gallery without using Picasa and caring about an image title. As i am a new fan of python, i hacked a script together that does the job. The script can be downloaded :Directory2Imago Image Gallery Script. If you only want to use the script you might skip here as i am now talking a bit of how i did it. So if your curious go ahead reading :-)


Parsing an excel sheet in Python platform independent

28.06.2007 by kerim in python

My wife had some trouble with excelsheets and scripts that had to be created from these sheets. In particular she had to filter the sheet and exclude certain values. Then from the resulting set she had to extract the data of one column only. And for each row in that column she had to create 4 commands that were inserted in a batch file. This batchfile had to be saved as a unix encoded file, transfered via ftp and then was used in another process.