Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:Python': 0.05; 'python': 0.09; 'https': 0.09; 'cc:addr:python-list': 0.10; 'advance': 0.10; 'gpg': 0.16; 'subject:proxy': 0.16; 'system- wide': 0.16; 'settings': 0.16; 'wrote:': 0.17; 'feb': 0.19; 'http': 0.22; 'cc:2**0': 0.23; 'example': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'protocols': 0.29; 'url:mailman': 0.29; 'subject: ?': 0.30; 'url:python': 0.32; 'url:listinfo': 0.32; 'subject:change': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'pm,': 0.35; 'next': 0.35; 'url:org': 0.36; 'subject:: ': 0.38; 'google': 0.39; 'subject:-': 0.40; 'help': 0.40; 'url:mail': 0.40; 'time,': 0.62; 'show': 0.63; 'you:': 0.75; '2013': 0.84; 'subject:system': 0.84; 'to:addr:163.com': 0.91; 'url:tk': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=PJDDpFqEXeG5y5WgsnqwcQ4/d/HyaCpnYAI+ocj0UBw=; b=UQXJN0axlddZdElEdcMaYWFLznupH32NkT41Q0bMe9Wy1hTrqpy2mInWk4GtLQOUv4 G6GNzF6DHa5PhJbJS0Z+ZbVfIBKfUYhV7a05+Wuq0phjHaBrOo9voRwkqYh1e+uovxQp +D+1W6N8szNvaA+VPTitp1/EGhnkq2v3jXc0E/jUu908aWqjzTrCye3C/kjnmtSDQ6yJ l6ueZzXBdCIaHTsJjgcEGhuTQHuaZjjXj56pxVZsx2Wj2GffhPsFSG2AaI+sAtiyiotm aayEildbGa4Zg6PFyN5o/OBYXpzZ/16152IDynTreUIH5lz9dsiCTwL9MKfn9KSkz+xu C9iA== X-Received: by 10.50.140.104 with SMTP id rf8mr3139347igb.21.1359906194517; Sun, 03 Feb 2013 07:43:14 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Kwpolska Date: Sun, 3 Feb 2013 16:42:54 +0100 Subject: Re: how to change system-wide proxy settings by Python ? To: iMath Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1359906203 news.xs4all.nl 6960 [2001:888:2000:d::a6]:51681 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38107 On Sun, Feb 3, 2013 at 4:34 PM, iMath wrote: > I have already known a valid proxy server(63.141.216.159)and port(8087) which support both http and https protocols ,so how to change system-wide proxy settings to this proxy by Python ? > I use WinXP ,can you show me an example of this ? > thanks in advance ! > -- > http://mail.python.org/mailman/listinfo/python-list This may help you: http://stackoverflow.com/questions/1068212/programmatically-detect-system-proxy-settings-on-windows-xp-with-python Next time, please use Google before you ask. -- Kwpolska | GPG KEY: 5EAAEA16 stop html mail | always bottom-post http://asciiribbon.org | http://caliburn.nl/topposting.html