Hi Guys,
I am connecting to postgres database and fetching the table names but it
seems that they are being returned in type 'tuple'
How can I convert them to string?
--
Thanks Regards
Smaran Harihar
--
http://mail.python.org/mailman/listinfo/python-list
Thanks,
Smaran
On Sun, Nov 25, 2012 at 7:09 PM, Smaran Harihar smaran.hari...@gmail.comwrote:
Hi Guys,
I am connecting to postgres database and fetching the table names but it
seems that they are being returned in type 'tuple'
How can I convert them to string?
--
Thanks Regards
Smaran
/acme/datastores/Quercus_iltisii/external.shp
?
This is the curl command.
--
Thanks Regards
Smaran Harihar
--
http://mail.python.org/mailman/listinfo/python-list
?
--
Thanks Regards
Smaran Harihar
--
http://mail.python.org/mailman/listinfo/python-list
/one.py', 'alpha/two.py', 'alpha/three.py']
See the documentation for more.
--
http://mail.python.org/mailman/listinfo/python-list
--
Thanks Regards
Smaran Harihar
--
http://mail.python.org/mailman/listinfo/python-list
to read the files?
--
Thanks Regards
Smaran Harihar
--
http://mail.python.org/mailman/listinfo/python-list
am
getting.
Any idea where am I going wrong?
--
Thanks Regards
Smaran Harihar
--
http://mail.python.org/mailman/listinfo/python-list
...@python.org,
Demian Brecht demianbre...@gmail.com wrote:
On 2012-11-07, at 3:17 PM, Smaran Harihar smaran.hari...@gmail.com
wrote:
Any idea where am I going wrong?
Looks like you're missing a closing parenthesis:
What I find is useful in situations like this is to just let emacs
auto-indent
Sorry forgot to update. I did change the port to 8000 and now server is
running but I am getting a 404 page.
http://128.196.142.94:8000/bottle/hello.py
I have the server up right now you can see.
Thanks,
Smaran
On Fri, Aug 10, 2012 at 11:35 AM, Smaran Harihar
smaran.hari...@gmail.comwrote
The file is on Ubuntu Server 12.04 and not sure how to set the executable
bits?
If you mean chmod +x filename
then yes it has been set.
On Fri, Aug 10, 2012 at 12:10 PM, Tim Chase
python.l...@tim.thechases.comwrote:
On 08/10/12 13:38, Dave Angel wrote:
On 08/10/2012 01:14 PM, Smaran Harihar
Hi Tim,
this is the output for the ls -lsF filename
8 -rwxr-xr-x 1 root root 5227 Jul 30 13:54 iplantgeo_cgi.py*
On Fri, Aug 10, 2012 at 12:20 PM, Tim Chase
python.l...@tim.thechases.comwrote:
On 08/10/12 14:14, Smaran Harihar wrote:
If you mean chmod +x filename
then yes it has been
. They said, it makes more sense to use django or bottle
which are python web framework.
So I am confused and wanted some guidance as to which should I chose?
Should I go with cgi or django/bottle?
--
Thanks Regards
Smaran Harihar
--
http://mail.python.org/mailman/listinfo/python-list
guys i m still waiting for a reply
-- Forwarded message --
From: Smaran Harihar smaran.hari...@gmail.com
Date: Thu, Aug 2, 2012 at 12:26 PM
Subject: unable to get simple html file up
To: python-list@python.org
Hi,
I am following this
tutorialhttp
functions.
This is my server.py http://dpaste.de/iEPTk/ and this is my
test_cgi.pyhttp://dpaste.de/7SsAj/
--
Thanks Regards
Smaran Harihar
--
http://mail.python.org/mailman/listinfo/python-list
Thanks a lot Xavier, that was exactly what was needed.
On Thu, Aug 2, 2012 at 11:44 AM, Xavier Combelle xavier.combe...@free.frwrote:
In server.py you made a mistake in the declaration of the cgi directory
it should be
handler.cgi_directories = [/]
Le 02/08/2012 20:20, Smaran Harihar
itself. Any idea why it is like
this? I have made link.py executable. Here is the
server.pyhttp://dpaste.de/iEPTk/
.
--
Thanks Regards
Smaran Harihar
--
http://mail.python.org/mailman/listinfo/python-list
16 matches
Mail list logo