En Wed, 09 Apr 2008 11:14:33 -0300, syed mehdi <[EMAIL PROTECTED]>
escribió:
> Hi Guys,
> If someone can help me in telling how can i pass arguments to python cgi
> script then that will be good.
> like if i want to pass "some argument" to my remote python script,
Hi Guys,
If someone can help me in telling how can i pass arguments to python cgi
script then that will be good.
like if i want to pass "some argument" to my remote python script, by
calling something like:
http://localhost/cgi-bin/test.py?some\ argument.
What is the correct way
Tim,
Thanks for the information and I'll work with you suggestions. Also,
I will let you know what I find.
Thanks again,
Christopher
Tim Chase wrote:
> > I'm working with a Python CGI script that I am trying to use with an
> > external CSS (Cascading Style Sheet) and it
> I'm working with a Python CGI script that I am trying to use with an
> external CSS (Cascading Style Sheet) and it is not reading it from the
> web server. The script runs fine minus the CSS formatting. Does
> anyone know if this will work within a Python CGI? It seems that
All:
I'm working with a Python CGI script that I am trying to use with an
external CSS (Cascading Style Sheet) and it is not reading it from the
web server. The script runs fine minus the CSS formatting. Does
anyone know if this will work within a Python CGI? It seems that line
18 is not
umentation that comes with the script you wish to run
>
> The thing is like this. I need to set up a module on my server, but i
> cant access the server with a comand line. So I want to run setup.py
> script (I nead to run setup.py to setup up the module) from a python
> cgi script
run setup.py
script (I nead to run setup.py to setup up the module) from a python
cgi script, and supply commands from the script. So if any one can help
me with this I would appreciate it.
Moishy
--
http://mail.python.org/mailman/listinfo/python-list
Steve Holden a écrit :
> Debashis Dey wrote:
>
>> Hello,
>>
>> I have a python CGI program. I would like to show a graph within a
>> HTML plage. I would like to dynamically generate the graph using the
>> python CGI script on the web server side and send it
Steve Holden wrote:
> Debashis Dey wrote:
> > Hello,
> >
> > I have a python CGI program. I would like to show a graph within a HTML
> > plage. I would like to dynamically generate the graph using the python
> > CGI script on the web server side and send it to th
Xavier Morel wrote:
> Well, some people have been crazy enough lately to generate more or less
> imageless bar graphs though, see Eric Meyer's "Bar Graphs with Style"
> (http://meyerweb.com/eric/thoughts/2005/12/20/bar-graphs-with-style/)
> for more informations on the subject
> (http://meyerwe
Luiz Geron wrote:
> I don't have experience on this, but I think that you can make the
> script return the image "contents" directly to the img tag, without
> passing it to a img file, so you can use something like this:
>
>
>
> wich saves some processing and I/O.
>
I like this method.
You ha
Steve Holden wrote:
> Luiz Geron wrote:
> > I don't have experience on this, but I think that you can make the
> > script return the image "contents" directly to the img tag, without
> > passing it to a img file, so you can use something like this:
> >
> >
> >
> > wich saves some processing and I
Steve Holden wrote:
> Luiz Geron wrote:
> > I don't have experience on this, but I think that you can make the
> > script return the image "contents" directly to the img tag, without
> > passing it to a img file, so you can use something like this:
> >
> >
> >
> > wich saves some processing and I
This is a cool product that can produce any number of types of graphs.
Supports Python, as well as lots of other languages. I have used it
with success. There is a free version, as long as you don't mind the
tiny logo they put into each graph.
http://www.advsofteng.com/
-Chris
--
http://mail.
David Wahler wrote:
> Xavier Morel wrote:
>
>>Steve Holden wrote:
>>
>>>Luiz Geron wrote:
>>>
I don't have experience on this, but I think that you can make the
script return the image "contents" directly to the img tag, without
passing it to a img file, so you can use something like t
Xavier Morel wrote:
> Steve Holden wrote:
> > Luiz Geron wrote:
> >> I don't have experience on this, but I think that you can make the
> >> script return the image "contents" directly to the img tag, without
> >> passing it to a img file, so you can use something like this:
> >>
> >>
> >>
> >> wi
Steve Holden wrote:
> Luiz Geron wrote:
>> I don't have experience on this, but I think that you can make the
>> script return the image "contents" directly to the img tag, without
>> passing it to a img file, so you can use something like this:
>>
>>
>>
>> wich saves some processing and I/O.
>>
>
Luiz Geron wrote:
> I don't have experience on this, but I think that you can make the
> script return the image "contents" directly to the img tag, without
> passing it to a img file, so you can use something like this:
>
>
>
> wich saves some processing and I/O.
>
No it doesn't, because the s
Sparklines is a script that does exactly what you are asking using python
and PIL:
http://bitworking.org/projects/sparklines/
max
--
http://mail.python.org/mailman/listinfo/python-list
I don't have experience on this, but I think that you can make the
script return the image "contents" directly to the img tag, without
passing it to a img file, so you can use something like this:
wich saves some processing and I/O.
--
http://mail.python.org/mailman/listinfo/python-list
Steve Holden wrote:
> Debashis Dey wrote:
>> Hello,
>>
>> I have a python CGI program. I would like to show a graph within a HTML
>> plage. I would like to dynamically generate the graph using the python
>> CGI script on the web server side and send it to th
Debashis Dey wrote:
> Hello,
>
> I have a python CGI program. I would like to show a graph within a HTML
> plage. I would like to dynamically generate the graph using the python
> CGI script on the web server side and send it to the browser.
>
> My question is how can I
Hello,
I have a python CGI program. I would like to show a graph within a HTML plage. I would like to dynamically generate the graph using the python CGI script on the web server side and send it to the browser.
My question is how can I do this in python? Is there a free tool to do this? Can
Your python script is not getting executed.
I guess there is something wrong with the server configuration.
#-Original Message-
#From: Philippe C. Martin [mailto:[EMAIL PROTECTED]
#Sent: Tuesday, October 25, 2005 1:27 AM
#To: python-list@python.org
#Subject: python cgi script not
It is, thanks.
Philippe
Peter Hansen wrote:
> Philippe C. Martin wrote:
>> The following code outputs the actual HTML text to the browser, not the
>> interpreted text.
>>
>> html_ok = """
>> Content-Type: text/html\n
>> > "http://www.w3.org/TR/html4/loose.dtd";>\n
>
> HTTP header lines must
Many thanks !!
Regards,
Philippe
Mitja Trampus wrote:
> Philippe C. Martin wrote:
>> Hi,
>>
>> The following code outputs the actual HTML text to the browser, not the
>> interpreted text.
>>
>> Any idea ?
>>
>> html_ok = """
>> Content-Type: text/html\n
> >
> > ...
> > """
>
> Avoid t
Philippe C. Martin wrote:
> The following code outputs the actual HTML text to the browser, not the
> interpreted text.
>
> html_ok = """
> Content-Type: text/html\n
> "http://www.w3.org/TR/html4/loose.dtd";>\n
HTTP header lines must end with \r\n, not just with \n. Not sure this
is the soluti
Philippe C. Martin wrote:
> Hi,
>
> The following code outputs the actual HTML text to the browser, not the
> interpreted text.
>
> Any idea ?
>
> html_ok = """
> Content-Type: text/html\n
>
> ...
> """
Avoid the starting newline (before content-type).
Add at least TWO newlines after conten
the title should say "python cgi script html output not understood as html"
Philippe C. Martin wrote:
> Hi,
>
> The following code outputs the actual HTML text to the browser, not the
> interpreted text.
>
> Any idea ?
>
> Regards,
>
> Philippe
>
Hi,
The following code outputs the actual HTML text to the browser, not the
interpreted text.
Any idea ?
Regards,
Philippe
import cgi
import logging
import auth #this is the one you must implement (or use SCF ;-)
html_ok = """
Content-Type: text/html\n
http://www.w3.org/TR/html4/loose.dtd";>\n
On Oct 4, 2005, at 2:35 AM, Amir Michail wrote:
> Is there an easy way to execute a python cgi script on a different
> machine from the cgi server?
>
> I could write my own server, but I was wondering if something is
> available that would allow me to use a cgi script as is without
"Amir Michail" <[EMAIL PROTECTED]> writes:
> Is there an easy way to execute a python cgi script on a different
> machine from the cgi server?
What exactly do you mean by that? You can set a form target to
another machine, if that's what you mean.
--
http://mail.
Amir Michail wrote:
> Fredrik Lundh wrote:
>
>>Amir Michail wrote:
>>
>>
>>>Is there an easy way to do this without modifying the configuration of
>>>the cgi server and without running a cgi server on the other machine
>>>where the script will actually run?
>>>
>>>Perhaps someone wrote a simple se
Fredrik Lundh wrote:
> Amir Michail wrote:
>
> > Is there an easy way to do this without modifying the configuration of
> > the cgi server and without running a cgi server on the other machine
> > where the script will actually run?
> >
> > Perhaps someone wrote a simple server that provides the re
Amir Michail wrote:
> Is there an easy way to do this without modifying the configuration of
> the cgi server and without running a cgi server on the other machine
> where the script will actually run?
>
> Perhaps someone wrote a simple server that provides the required
> environment for the cgi s
Fredrik Lundh wrote:
> Amir Michail wrote:
>
> > Is there an easy way to execute a python cgi script on a different
> > machine from the cgi server?
>
> http://www.google.com/search?q=reverse+proxy
>
>
Is there an easy way to do this without modifying the confi
Amir Michail wrote:
> Is there an easy way to execute a python cgi script on a different
> machine from the cgi server?
http://www.google.com/search?q=reverse+proxy
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Is there an easy way to execute a python cgi script on a different
machine from the cgi server?
I could write my own server, but I was wondering if something is
available that would allow me to use a cgi script as is without
modification.
Amir
--
http://mail.python.org/mailman/listinfo
tml page.
Note :- Set "Content-type" to "text/html" I guess this should work
regards
prasad chandrasekaran
--- Cancer cures smoking
-Original Message-
From: Efrat Regev [mailto:[EMAIL PROTECTED]
Sent: Friday, September 30, 2005 4:20 PM
To: python-list@py
nfigure. Actually, in case you run on a
MacOS X by any chance, Apache is already installed afaik...
I hope this helps
Ivan
Original Message
From: Efrat Regev <[EMAIL PROTECTED]>
To:
Subject: Python CGI Script
Date: 30/9/2005 12:50
> Hello,
>
> I'm a
Efrat Regev wrote:
> Hello,
>
> I'm a data-structures course TA trying to write a python CGI script
> for automatically compiling and testing students' projects.
> Unfortunately, I've run into some questions while writing this, which I
> couldn'
Hello,
I'm a data-structures course TA trying to write a python CGI script
for automatically compiling and testing students' projects.
Unfortunately, I've run into some questions while writing this, which I
couldn't solve with the various (and helpful) pyth
Thank you Denis
Ty
--
http://mail.python.org/mailman/listinfo/python-list
On 24 Mar 2005 05:20:06 -0800 [EMAIL PROTECTED] wrote:
TC> Due to the restrictions I have at my host, I cannot use smtplib in
TC> my email cgi script. They gave me a script they use that calls
TC> nullmailer-inject. I am trying to figure out how to add the
TC> ability to send attachments via th
Due to the restrictions I have at my host, I cannot use smtplib in my
email cgi script. They gave me a script they use that calls
nullmailer-inject. I am trying to figure out how to add the ability
to send attachments via the nullmailer-inject call. I could not find
much documentation on google
45 matches
Mail list logo