[Tutor] code to generate my own text captchas

2012-10-24 Thread Tsila Hassine
Hello all, I am looking for simple python code that will take a given string and distort it, captcha like. it is for artistic purposes, so no verification required. I just need the image q text distortion code. Thanks!!! tsila -- -- missdata.org

Re: [Tutor] problems to install python 2.5

2007-03-11 Thread Tsila Hassine
te: Did you download the MacPython 2.5 distribution? You should find an "Update shell profile.command" file, which you can run. I believe once you do that, you will be set up so that IDLE will launch and you will default to version 2.5. On 3/11/07, Tsila Hassine <[EMAIL PROTECTE

Re: [Tutor] problems to install python 2.5

2007-03-11 Thread Tsila Hassine
nd line it goes to the 2.3 version in the Frameworks. - so what do i need to do ? add it to the PATH ? how do i do that ? On 3/11/07, Andre Roberge <[EMAIL PROTECTED]> wrote: On 3/11/07, Tsila Hassine <[EMAIL PROTECTED]> wrote: > I also tried that build as well - it sa

Re: [Tutor] problems to install python 2.5

2007-03-11 Thread Tsila Hassine
I also tried that build as well - it says that installation completed succesfully - and when i try to launch IDLE - it won't open... On 3/11/07, Kent Johnson <[EMAIL PROTECTED]> wrote: Tsila Hassine wrote: > Hello all > > I downloaded Python 2.5 (final release) from python

[Tutor] problems to install python 2.5

2007-03-11 Thread Tsila Hassine
Hello all I downloaded Python 2.5 (final release) from python.org. I am trying to install it on my Mac 0s 10.4 the current working version i have of python is 2.3 (also built as a framework) It goes through the "./configure" part ok, but the "make install" produces the following errors : Mo

[Tutor] ssl error when trying to connect to https (also using timeoutsocket.py)

2007-03-07 Thread Tsila Hassine
Hello all, in my code i am importing timeoutsocket in order to set the time out of a connection. When i try to acces an https site I get the error: "TypeError: ssl() argument 1 must be _socket.socket, not _socketobject" when I am not using the timeoutsocket module, I don't have any problems. ho

Re: [Tutor] "IOError: decoder jpeg not available"

2007-02-28 Thread Tsila Hassine
Hello again, Problem finally solved : had to reinstall and rebuild PIL (from tar) - this time pointing the setup.py to the right location of jpeg-6b library, and ONLY THEN running setup.py build_ext -i of Imaging1.1.6 hope someone can make use of this, Tsila On 3/1/07, Tsila Hassine <[EM

Re: [Tutor] "IOError: decoder jpeg not available"

2007-02-28 Thread Tsila Hassine
or working with jpeg? - Show us the code that throws this exception, or how you use it.. And maybe we'll have some info to help you out. Tsila Hassine wrote: > Dear fellow Pythoneers, > > I have recently upgraded to Mac 10.4, and since then this er

[Tutor] "IOError: decoder jpeg not available"

2007-02-28 Thread Tsila Hassine
Dear fellow Pythoneers, I have recently upgraded to Mac 10.4, and since then this error appears when trying to manipulate an image (resize it actually), can anyone help me out ? thanks! Tsila ___ Tutor maillist - Tutor@python.org http://mail.python.o

[Tutor] dealing with 406 HTTP response

2007-01-16 Thread Tsila Hassine
Dear pythoners, has anybody dealt with a 406 reponse through a urllib.FancyURLopener class ? I have a code that downloads images from websites and soemsites respond with an 406 which I don't know how to handle thanks! Tsila ___ Tutor maillist - Tuto

[Tutor] checking for robots on a python script based site

2006-10-21 Thread Tsila Hassine
Hello All!I have a site that takes some input from the user and then produces a dynamic page based on the input. In the last months bots (not only search engine ones) have been hitting the site pretty heavily, so my sys admin disabled it. As far as I know there are 2 options to fight this : 1: wri