Create your own textformat and parse it

by By: Jens in python | snipplet

For my cv i maintain a list of all projects i worked on to give a bit more information than a typical german cv does. Each project entry contains a name and description, what my job and role was and ...

pySVG - 0.2.1

by By: Kerim in pysvg | python

I just updated pySVG to 0.2.1.

Changes as far as I remember:

  • switched to BSD as license for the moment. Will see how that turns out.
  • added kwargs to make life a bit easier when instantiating objects
  • added ...

The Openpixels Character Editor is born

by By: Jens in python | tools

Some time ago i was browsing for 2d sprites again and somehow run accross a nice collection called Openpixels. It's a set of pixelart characters in classic rpg orientation provided in gimp format, with all stuff in its own ...

Export a diigo list to markdown

by By: Jens in python | snipplet

I use diigo as my bookmarking service and specially their list feature for collecting links of a research topic. Occasionally i need to export a list as markdown syntax. Luckily they got an api and theres also a python modul ...

Using kwargs to initialize an object

by By: Kerim in python | snipplet

Way to many (possible and/or optional) parameters for a class? Here is a 5 second tip for all those old style Java-type-programmers...

Use kwargs, simple setter methods and run through the keys.

#!/usr/bin/env python
# -*- coding: utf-8 -*-
class ...

Playing a mp3 stream with python

by By: Jens in python | snipplet

I listen to web radios aka music streams alot and usually do not really care how the players work. But recently i got somehow curious about how to play a mp3 stream with python. And it should run on my ...

A flash game portal with python

by By: Jens in python | tools

Some month ago i wrote about the mochiads api and introduced my python mochi lib for working with some aspects of the moch ads api. I did also mention i was writing something, and tada was a game portal for ...

SVG Sierpinski Carpet Generator

by By: Kerim in natural | pysvg | python

Coded as described in the Construction section (square based part) in Wikipedia. SVG export requires pySVG.

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
License:
Copyright (c) 2007-2010 Kerim Mansour
All rights reserved.

Redistribution and use in source and binary forms, with ...

Free books on Python programming

by By: Kerim in python | resource-tip

Occationally Stumple Upon gives me nice pages that i didn't know anything about before.

By chance i was sent to this site which contains (amongst others) free python books.

It's generally a good link list to all kinds ...

pySVG meets Trundle, the turtle

by By: Kerim in natural | pysvg | python

My python pySVG just got a mate named Trundle the turtle (named after a turtle in my kids english school book). For a while now I haven't coded much for pySVG. I had a lot of requests and emails ...