On Wed, Oct 06 2010, Senthil Kumaran wrote:
> On Wed, Oct 06, 2010 at 04:57:15PM +0530, Noufal Ibrahim wrote:
>>
>> "Loading the interpreter" is a general term. Interpreters do various
>> things when they start which can significantly affect performance
>> (searching module include paths is one e
On Wed, Oct 06, 2010 at 04:57:15PM +0530, Noufal Ibrahim wrote:
>
> "Loading the interpreter" is a general term. Interpreters do various
> things when they start which can significantly affect performance
> (searching module include paths is one example).
CGI scripts have be to executed by an int
[...]
> Even for Perl, you will have to load the interpretor. So, it is a
> heavy weight operation if you involve any scripting language.
"Loading the interpreter" is a general term. Interpreters do various
things when they start which can significantly affect performance
(searching module inclu
On Wed, Oct 06, 2010 at 04:18:05PM +0530, Noufal Ibrahim wrote:
> Also, Python CGI is a really archaic way to go.
Yes, this is true. The modern way of doing this is called WSGI, which
is not as easy as CGI to being with, but people do get used to it.
> The interpreter startup
> time is quite hi
On Wed, Oct 06 2010, delegb...@dudupay.com wrote:
> Got it fixed.
> Thanks y'all.
>
> I defined a variable out of scope.
> I ran it on my IDE to discover it.
> rowNumber was out of scope.
[...]
Put the following line
import cgitb ;cgitb.enable()
at the top of your file if you're using it as a
On Wed, 2010-10-06 at 15:47 +0530, Anand Chitipothu wrote:
> > #!/usr/bin/env python
> > import cgi
> >
> > print cgi.escape("abc")
>
> What is the name of your script?
I am an idiot - it is named cgi.py
--
regards
Kenneth Gonsalves
___
BangPypers ma
Got it fixed.
Thanks y'all.
I defined a variable out of scope.
I ran it on my IDE to discover it.
rowNumber was out of scope.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Kenneth Gonsalves
Sender: bangpypers-bounces+delegbede=dudupay@python.org
D
2010/10/6 Kenneth Gonsalves :
> On Wed, 2010-10-06 at 15:33 +0530, Kenneth Gonsalves wrote:
>> > It only returns the header and a blank page.
>>
>> one error is that lines 19 and 20 should be unindented. The other
>> error,
>> I cannot understand - it says:
>> 'module does not have attribute escape
On Wed, 2010-10-06 at 15:33 +0530, Kenneth Gonsalves wrote:
> > It only returns the header and a blank page.
>
> one error is that lines 19 and 20 should be unindented. The other
> error,
> I cannot understand - it says:
> 'module does not have attribute escape', if the cgi.escape() wrapper
> is
On Wed, 2010-10-06 at 10:36 +0100, Dipo Elegbede wrote:
> here is the code as pasted on pastebin:
>
> http://pastebin.com/K2Fxq6ac
>
> please help.
>
> It only returns the header and a blank page.
one error is that lines 19 and 20 should be unindented. The other error,
I cannot understand - it
I'm on it Mate.
Thanks.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Anand Chitipothu
Sender: bangpypers-bounces+delegbede=dudupay@python.org
Date: Wed, 6 Oct 2010 15:18:38
To: Bangalore Python Users Group - India
Reply-To: Bangalore Python Users Group -
2010/10/6 Dipo Elegbede :
> here is the code as pasted on pastebin:
>
> http://pastebin.com/K2Fxq6ac
>
> please help.
>
> It only returns the header and a blank page.
>
There is an error in your program. Try running the program directly
with python to see the error.
Anand
here is the code as pasted on pastebin:
http://pastebin.com/K2Fxq6ac
please help.
It only returns the header and a blank page.
--
Elegbede Muhammed Oladipupo
OCA
+2348077682428
+2347042171716
www.dudupay.com
Mobile Banking Solutions | Transaction Processing | Enterprise Application
Development
13 matches
Mail list logo