Re: wxpython

2008-01-24 Thread joe jacob
oin ( > >>chr (random.randint (0, 255)) for i in range (1000) > >> ) > >> munged_text = "".join ( > >> c if 32 <= ord (c) <= 126 else hex (ord (c)) for c in file_content > >> ) > > >> print repr (file_content) > >

Designing website

2008-01-24 Thread joe jacob
Hi All, I am planning to design a website using windows, apache, mysql, python. But I came to know that python cgi is very slow. I came across mod_python also but no good documentation are available for learning mod_python. Suggest me a good solution for this as I don't know other languages like P

wxpython

2008-01-23 Thread joe jacob
I am trying to open a file containing non displayable characters like contents an exe file. The is is with the below mentioned code: self.text_ctrl_1.SetValue(file_content) If the file_content contains non displayable characters I am getting an error like this: Traceback (most recent call last):

Re: XOR encryption

2008-01-18 Thread joe jacob
On Jan 18, 4:11 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Fri, 18 Jan 2008 03:06:51 -0800, joe jacob wrote: > > I wrote a python script to perform XOR encryption on a text and write > > the encrypted text to a file. But when I try to read the

XOR encryption

2008-01-18 Thread joe jacob
I wrote a python script to perform XOR encryption on a text and write the encrypted text to a file. But when I try to read the file as the encrypted text contains an EOF in between the file is read only to the first EOF and remaining part of the text is not read. I used the text "hello world" and

Re: Python web frameworks

2007-11-23 Thread joe jacob
On Nov 21, 10:27 pm, Steven Bethard <[EMAIL PROTECTED]> wrote: > Jeff wrote: > > On Nov 21, 6:25 am, Bruno Desthuilliers > [EMAIL PROTECTED]> wrote: > >> joe jacob a écrit : > >> (snip) > > >>> Thanks everyone for the response. From the posts

Re: Python web frameworks

2007-11-21 Thread joe jacob
On Nov 21, 10:15 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Nov 21, 1:37 pm, BartlebyScrivener <[EMAIL PROTECTED]> wrote: > > > > > On Nov 20, 3:39 pm, Graham Dumpleton <[EMAIL PROTECTED]> > > wrote: > > > > This only holds if actually hosted on Apache. As Django these days > > > supports

Python web frameworks

2007-11-20 Thread joe jacob
There are a lot of web frameworks for python like django, mod_python, spyce, turbo gears, Zope, Cherrypy etc. Which one is the best in terms of performance and ease of study. -- http://mail.python.org/mailman/listinfo/python-list

Re: Configuring apache to execute python scripts using mod_python handler

2007-08-13 Thread joe jacob
On Aug 13, 9:44 pm, 7stud <[EMAIL PROTECTED]> wrote: > On Aug 13, 5:16 am, joe jacob <[EMAIL PROTECTED]> wrote: > > > > > I configured apache to execute python scripts using mod_python > > handler. I followed below mentioned steps to configure a

Configuring apache to execute python scripts using mod_python handler

2007-08-13 Thread joe jacob
I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added AddHandler mod_python .py PythonHandler mptest PythonDebug On 2. Then I added the line "LoadModule python_module modules/ mod_python.s

Re: Configure apache to run python scripts

2007-07-23 Thread joe jacob
On Jul 23, 4:42 pm, Bruno Desthuilliers wrote: > joe jacob a écrit : > > > I need to configure apache to run python scripts. I followed the steps > > mentioned in this site (http://www.thesitewizard.com/archive/ > > addcgitoapache.shtml). But I am not able to run python

Configure apache to run python scripts

2007-07-22 Thread joe jacob
I need to configure apache to run python scripts. I followed the steps mentioned in this site (http://www.thesitewizard.com/archive/ addcgitoapache.shtml). But I am not able to run python scripts from Firefox, I got a forbidden error "you do not have permission to access the file in the server