security code whit python

Wildemar Wildenburger lasses_weil at klapptsowieso.net
Sat Nov 10 16:57:30 EST 2007


oruccim at gmail.com wrote:
> I want to create picture of security code.can i do it ?

I don't know what you mean by "security code".

I take it you want to create technical diagrams, from a sort of 
algorithmic description?

PIL might help you, as paulC pointed out. It works on raster images 
(bitmaps).

pYx is a tool library for vector graphics and scientific plots. Maybe 
that can help. I've produced nice looking graphics of search-trees 
within about 60 minutes of installing it.

This example is copied right from the pyx site:

from pyx import *
c = canvas.canvas()
c.text(0, 0, "Hello, world!") # Put oruccim here, if you want
c.stroke(path.line(0, 0, 2, 0))
c.writeEPSfile("hello")
c.writePDFfile("hello")

<URL:http://pyx.sourceforge.net/>

/W




More information about the Python-list mailing list