Virgil Stokes wrote:
Any
suggestions on using Python to connect to Web servers (e.g. to access
financial time series data)?
--V. Stokes
You can open a web page for reading with urllib2 module. You can parse
html with beautiful soup, or if it's clean xhtml, with the xml module.
On Mon, Nov 16, 2009 at 11:17 AM, Virgil Stokes wrote:
> Any suggestions on using Python to connect to Web servers (e.g. to access
> financial time series data)?
In what format? Using what protocol?
(*Insert other basic questions that need answering in order to answer
your questio
Any suggestions on using Python to connect to Web servers (e.g. to
access financial time series data)?
--V. Stokes
--
http://mail.python.org/mailman/listinfo/python-list
I just want to be able to write simple scripts to serve xml data and don't
want the headache of administrating an apache server. I want to collect
some data from some of our production servers and share them with a
sharepoint website.
On Wed, Sep 24, 2008 at 12:29 PM, Jean-Paul Calderone <[EMAIL
On Tue, 23 Sep 2008 21:22:08 -0500, Michael Mabin <[EMAIL PROTECTED]> wrote:
Is there any consensus on what the best lightweight web-server is? Or
rather would Twisted be a better choice to choose as a framework that allows
me to serve html or xml data for light webservices. Or is CherryPy just
Is there any consensus on what the best lightweight web-server is? Or
rather would Twisted be a better choice to choose as a framework that allows
me to serve html or xml data for light webservices. Or is CherryPy just as
good?
--
| _ | * | _ |
| _ | _ | * |
| * | * | * |
--
http://mail.python.o
Gilles Ganault <[EMAIL PROTECTED]> wrote:
>I'd like to monitor connections to a remote SSH and web server. Does
>someone have some code handy that would try to connect every 5mn, and
>print an error if the script can't connect?
This script has been pretty reliable for us for the past few years,
mu
I would recommend using a tried-and-true solution for making sure your
uptime of various services is maximized (if that's what your goal is).
Running a local "daemon-monitoring daemon" is one option--monit does a
good job. Checking services over the network, as nagios does well, is
another soluti
On Mar 13, 11:32 pm, Gilles Ganault <[EMAIL PROTECTED]> wrote:
> I'd like to monitor connections to a remote SSH and web server. Does
> someone have some code handy that would try to connect every 5mn, and
> print an error if the script can't connect?
from time import sleep
while True:
# Try to
Hello
I'd like to monitor connections to a remote SSH and web server. Does
someone have some code handy that would try to connect every 5mn, and
print an error if the script can't connect?
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
"Collin Stocks" <[EMAIL PROTECTED]> wrote:
> --=_Part_19087_21002019.1176329323968
> I tried it, and when checking it using a proxy, saw that it
> didn't really work, at least in the version that I have (urllib
> v1.17 and urllib2 v2.5). It just added that header onto the end,
> therefore maki
And yes, I do have two email addresses that I use for Python-List
On 4/11/07, Collin Stocks <[EMAIL PROTECTED]> wrote:
I tried it, and when checking it using a proxy, saw that it didn't really
work, at least in the version that I have (urllib v1.17 and urllib2 v2.5).
It just added that header o
I tried it, and when checking it using a proxy, saw that it didn't really
work, at least in the version that I have (urllib v1.17 and urllib2 v2.5).
It just added that header onto the end, therefore making there two
User-Agent headers, each with different values. I might add that my script
IS able
Subscriber123 <[EMAIL PROTECTED]> wrote:
> urllib, or urllib2 for advanced users. For example, you can
> easily set your own headers when retrieving and serving pages,
> such as the User-Agent header which you cannot set in either
> urllib or urllib2.
Sure you can. See:
http://www.diveintopython
I wrote most of the following script, useful for retrieving pages from the
web and serving web pages. Since it is so low level, it is much more
customizable than simpleHTTPserver, cgiHTTPserver, urllib, or urllib2 for
advanced users. For example, you can easily set your own headers when
retrieving
15 matches
Mail list logo