Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29630
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <overhaalsgang_24_bob@me.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; '21,': 0.07; 'pages.': 0.07; 'urllib2': 0.07; 'subject:How': 0.09; 'python': 0.09; 'be:': 0.09; 'sep': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'from:addr:me.com': 0.16; 'subject:user': 0.16; 'url.': 0.16; 'url:html)': 0.16; 'wrote:': 0.17; 'thanks,': 0.18; '(or': 0.18; "user's": 0.22; "i'd": 0.22; 'cc:no real name:2**0': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'thoughts': 0.27; 'this?': 0.28; 'url:mailman': 0.29; 'points': 0.29; "i'm": 0.29; 'fri,': 0.30; 'point': 0.31; 'url:python': 0.32; 'url:listinfo': 0.32; 'another': 0.33; 'received:google.com': 0.34; 'text': 0.34; 'text.': 0.35; 'offered': 0.35; 'received:209.85.220': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'wanted': 0.36; 'url:org': 0.36; 'modules': 0.36; 'should': 0.36; 'received:209': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'behind': 0.38; 'several': 0.39; 'called': 0.39; 'where': 0.40; 'skip:" 10': 0.40; 'url:mail': 0.40; 'skip:u 10': 0.60; 'situation': 0.62; 'reasons,': 0.65; 'sound': 0.65; 'programme': 0.69; 'avoid.': 0.84; 'bob': 0.91; 'joel': 0.91; 'received:209.85.220.184': 0.91 |
| Newsgroups | comp.lang.python |
| Date | Fri, 21 Sep 2012 06:31:37 -0700 (PDT) |
| In-Reply-To | <mailman.1006.1348233763.27098.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=77.167.72.50; posting-account=uv_KgQoAAABcaVT0RN3jt3k5T7-9IAK0 |
| References | <4382e132-4eb5-4733-9fed-535e704f2175@googlegroups.com> <mailman.1006.1348233763.27098.python-list@python.org> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| X-Google-IP | 77.167.72.50 |
| MIME-Version | 1.0 |
| Subject | Re: How to apply the user's HTML environment in a Python programme? |
| From | BobAalsma <overhaalsgang_24_bob@me.com> |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | python-list@python.org, BobAalsma <overhaalsgang_24_bob@me.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Message-ID | <mailman.1007.1348234300.27098.python-list@python.org> (permalink) |
| Lines | 52 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1348234300 news.xs4all.nl 6892 [2001:888:2000:d::a6]:36356 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:29630 |
Show key headers only | View raw
Op vrijdag 21 september 2012 15:23:14 UTC+2 schreef Joel Goldstick het volgende: > On Fri, Sep 21, 2012 at 8:57 AM, BobAalsma wrote: > > > I'd like to write a programme that will be offered as a web service (Django), in which the user will point to a specific URL and the programme will be used to read the text of that URL. > > > > > > This text can be behind a username/password, but for several reasons, I don't want to know those. > > > > > > So I would like to set up a situation where the user logs in (if/when appropriate), points out the URL to my programme and my programme would then be able to read that particular text. > > > > > > I'm aware this may sound fishy. It should not be: I want the user to be fully aware and in control of this process. > > > > > > Any thoughts on how to approach this? > > > > There are several python modules to get web pages. urllib, urllib2 > > and another called requests. > > (http://kennethreitz.com/requests-python-http-module.html) Check > > those out > > > > > > Best regards, > > > Bob > > > -- > > > http://mail.python.org/mailman/listinfo/python-list > > > > > > > > -- > > Joel Goldstick Thanks, Joel, yes, but as far as I'm aware these would all require the Python programme to have the user's username and password (or "credentials"), which I wanted to avoid.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 05:57 -0700
Re: How to apply the user's HTML environment in a Python programme? Joel Goldstick <joel.goldstick@gmail.com> - 2012-09-21 09:22 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:31 -0700
Re: How to apply the user's HTML environment in a Python programme? Jerry Hill <malaclypse2@gmail.com> - 2012-09-21 09:36 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:58 -0700
Re: How to apply the user's HTML environment in a Python programme? Joel Goldstick <joel.goldstick@gmail.com> - 2012-09-21 10:15 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-10-01 07:19 -0700
Re: How to apply the user's HTML environment in a Python programme? Ramchandra Apte <maniandram01@gmail.com> - 2012-10-02 09:17 -0700
Re: How to apply the user's HTML environment in a Python programme? Peter Otten <__peter__@web.de> - 2012-09-21 16:33 +0200
Re: How to apply the user's HTML environment in a Python programme? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-21 16:09 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:38 -0700
Re: How to apply the user's HTML environment in a Python programme? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-22 11:18 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:38 -0700
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:31 -0700
Re: How to apply the user's HTML environment in a Python programme? David Smith <davids@invtools.com> - 2012-09-21 11:28 -0400
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:34 -0700
Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:34 -0700
Re: How to apply the user's HTML environment in a Python programme? Thomas Jollans <t@jollybox.de> - 2012-09-22 14:01 +0200
csiph-web