Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'wiki': 0.03; 'subject:Python': 0.05; 'subject:How': 0.09; "wouldn't": 0.11; 'file,': 0.15; 'chrome,': 0.16; 'credential': 0.16; 'subject:user': 0.16; 'later': 0.16; 'wrote:': 0.17; 'translate': 0.20; 'file.': 0.20; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'points': 0.29; "i'm": 0.29; 'expect': 0.31; 'file': 0.32; 'asked': 0.33; 'to:addr:python-list': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'text': 0.34; 'text.': 0.35; 'received:192.168.0': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'behind': 0.38; 'several': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'build': 0.39; 'where': 0.40; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'skip:u 10': 0.60; 'situation': 0.62; 'different': 0.63; 'behavior': 0.64; 'reasons,': 0.65; 'programme': 0.69 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=Ddn1phq2Wj0ebU1rDou8f/0/zc/Q/hrt7SVjWfz6RBs=; b=nVimdgs3ueuNth4jLj5LiChuSB+Olv/yuS3JGFYlmJVTG5MlG5cMNMrVuTavLM0u/s q2zd+08Plj1vtHskfVkMWitpK75BQ3b7KyUHPKpJEXiAAMel/EyhqKyxc24ovRm2fHvh nDo2v1twftpZ7FZTTBVT2rDoeb1vU7LQFdJC9GrHZDarBnGJvSVwiFtB1juC6AaIiVby ypwAXQ1BnyjmoDnv+fZ8+6d7DO+Q+SwF5IPtMjC4j8MAfXI5ICgyvvqp+xIGJtiXf2kS zKE+G0iSJIa93j7rrTOnwpfFsBA1zevPBmbW1t+WpiRiH5ubjF74XVYHo7SjvuF+jdhX iMlQ== Date: Fri, 21 Sep 2012 11:28:07 -0400 From: David Smith User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: How to apply the user's HTML environment in a Python programme? References: <4382e132-4eb5-4733-9fed-535e704f2175@googlegroups.com> In-Reply-To: <4382e132-4eb5-4733-9fed-535e704f2175@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQl57ua8hEezVqEuXcceNsU4vTkOrQQjseWgffmlS3oODhWlDsUlmd9poyfwymTERz8DM153 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348241281 news.xs4all.nl 6916 [2001:888:2000:d::a6]:34530 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29648 On 2012-09-21 08:57, BobAalsma wrote: > 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 do this from a bat file that I will later translate to Python. I tell my work wiki which file I want. I use chrome, so for every new session I'm asked for my credentials. However, that is all transparent to my bat file. For that matter, when I download a new build from part of another bat file, I use Firefox and never see the credential exchange. I wouldn't expect any different behavior using Python.