[issue8218] Fix typos and phrasing in the Web servers howto

2010-04-04 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed in r79781 (trunk), r79782 (release26-maint), r79783 (py3k) and r79784 (release31-maint). Thanks to all! -- resolution: accepted - fixed stage: patch review - committed/rejected status: open - closed

[issue8218] Fix typos and phrasing in the Web servers howto

2010-04-03 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I do know something about web development, so I did a more extensive edit. I'm not saying I've brought it completely up to date or fixed any inaccuracies, but I did change the tone here and there, tightened up a bunch of the language,

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: There's also an invalid link to an image just after the title The low-level view: -.. .. image:: http.png +.. image:: http.png The image is not there though, and in r66294 only the document has been added. --

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-31 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This is a reST comment. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8218 ___ ___

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: If the image is missing, then the whole line can be removed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8218 ___

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-31 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Is there a main author for this fileN? If so, they can say whether they left the link as a reminder to put the image back later, or if they were just afraid of real version control 0.4 wink -- ___

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The author is Marek Kubica, but he doesn't seem to be registered to this tracker. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8218

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The rest of the patch seems good to me. Note that “the majority of users is” is as correct as “the majority of users are”, choosing one is a matter of preference. -- title: typo currect - Fix typos and phrasing in the Web servers howto

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: 'is' may be technically correct, however it will sound wrong to a native speaker's ear, at least in America. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-29 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: It seems that a lot of non-native speakers (of English) are participating in this thread. By nature, this is something that native speakers should resolve. Unless I'm mistaken (and Ezio actually *does* speak English as a first language), I

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-29 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I went through and made a lot of grammar corrections and rewording throughout the file. See attached patch. I have no idea if this doc is technically correct. I only made grammar changes since I'm not a big web developer, but it could probably

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I noticed that “a user” is “he” in the current text; gender-neutral language may be more in conformity with the recent diversity statement. Regards -- ___ Python tracker rep...@bugs.python.org

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-29 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: Removed file: http://bugs.python.org/file16692/issue8218_v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8218 ___

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-29 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: My first patch removed a lot of the he/him/his wording, but now that you mentioned it found another one. Updated the patch. -- Added file: http://bugs.python.org/file16693/issue8218_v3.diff ___ Python

[issue8218] Fix typos and phrasing in the Web servers howto

2010-03-29 Thread Aditya Bhargava
Aditya Bhargava adi...@wefoundland.com added the comment: Another patch. This contains all the patches from Brian Curtin's issue8218_v3.diff patch along with more edits, including an - in teh - the wordspushedtogether spaced out unnecessary _a_ words _is_ taken out -- nosy: +abhargava

Web servers

2009-11-16 Thread Virgil Stokes
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

Re: Web servers

2009-11-16 Thread Chris Rebert
On Mon, Nov 16, 2009 at 11:17 AM, Virgil Stokes v...@it.uu.se 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 question

Re: Web servers

2009-11-16 Thread Dave Angel
Virgil Stokes wrote: div class=moz-text-flowed style=font-family: -moz-fixedAny 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

Re: Twisted vs. CherryPy vs. ??? for light-weight web servers

2008-09-24 Thread Jean-Paul Calderone
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

Fwd: Twisted vs. CherryPy vs. ??? for light-weight web servers

2008-09-24 Thread Michael Mabin
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

Twisted vs. CherryPy vs. ??? for light-weight web servers

2008-09-23 Thread Michael Mabin
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? -- | _ | * | _ | | _ | _ | * | | * | * | * | --

Monitoring SSHd and web servers?

2008-03-14 Thread Gilles Ganault
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

Re: Monitoring SSHd and web servers?

2008-03-14 Thread Jonathan Gardner
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

Re: Monitoring SSHd and web servers?

2008-03-14 Thread Shane Geiger
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

Re: Monitoring SSHd and web servers?

2008-03-14 Thread Pacman
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, much

Re: Python Web Servers and Page Retrievers

2007-04-11 Thread Collin Stocks
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

Re: Python Web Servers and Page Retrievers

2007-04-11 Thread Subscriber123
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

Re: Python Web Servers and Page Retrievers

2007-04-11 Thread Max Erickson
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 making there

Python Web Servers and Page Retrievers

2007-04-08 Thread Subscriber123
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

Re: Python Web Servers and Page Retrievers

2007-04-08 Thread Max Erickson
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: