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)
> >
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
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):
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
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
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
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
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
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
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
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
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
12 matches
Mail list logo