Re: [Tutor] Proxy for Python?

2019-02-06 Thread Steven D'Aprano
On Wed, Feb 06, 2019 at 02:03:01PM +, beech 48 wrote: > Hi i am totally new to this, i am not a coder and am lost. We are coders and we are still lost, because we can't read your mind and we have no idea what you are talking about. Instagram? How is that relevant? You say you are entering

[Tutor] Proxy for Python?

2019-02-06 Thread beech 48
Hi i am totally new to this, i am not a coder and am lost. I have python working on just 1 of my instagram account right now and its working great but i have no proxy in and im afraid i will get kicked off from IG and i cannot loose this account. i am having the hardest time trying to put my n

Re: [Tutor] proxy switcher - was Re: I love python / you guys :)

2009-11-19 Thread bibi midi
-- Forwarded message -- From: bibi midi Date: Tue, Nov 17, 2009 at 11:12 PM Subject: Re: [Tutor] proxy switcher - was Re: I love python / you guys :) To: Dave Angel Cc: Luke Paireepinart , tutor Hi guys! Thank you all for the brainstorming. As much as i love to follow all

Re: [Tutor] proxy switcher - was Re: I love python / you guys :)

2009-11-17 Thread bibi midi
Hi guys! Thank you all for the brainstorming. As much as i love to follow all your tips but sorry I got lost in the sea of discussion :-) Therefore i thought i start to roll out my own and i hope you guys can chime in. The print lines in my code are just for debugging. Of course they can be omitt

Re: [Tutor] proxy switcher - was Re: I love python / you guys :)

2009-11-16 Thread Dave Angel
(Multiple people on this thread have been quoting earlier people without keeping the attribution lines (e.g. yyy wrote: ) so I'm not sure who said what any more. I recognize my own words, of course, but for anybody else, your guess is better than mine) Stephen Nelson-Smith wrote:

Re: [Tutor] proxy switcher - was Re: I love python / you guys :)

2009-11-16 Thread Stephen Nelson-Smith
Evening, > Yes, you can, but not this way.  I'm guessing the op was changing his mind > back and forth, between having two files, one for reading and one for > writing, and trying to do it in place.  The code does neither/both. Well, just neither I think! I didn't check if 'rw' was possible. My

Re: [Tutor] proxy switcher - was Re: I love python / you guys :)

2009-11-16 Thread Dave Angel
Luke Paireepinart wrote: Here's what I knocked up over lunch. It doesn't cover the moving of the file, I don't like that it's deep-nested, and I've not tested it, but I welcome criticism and feedback: files = ['file1', 'file2', 'file3', 'file4'] settings = ['export http_proxy=', 'ftp_proxy=']

Re: [Tutor] proxy switcher - was Re: I love python / you guys :)

2009-11-16 Thread Luke Paireepinart
> Here's what I knocked up over lunch. It doesn't cover the moving of > the file, I don't like that it's deep-nested, and I've not tested it, > but I welcome criticism and feedback: > > files = ['file1', 'file2', 'file3', 'file4'] > settings = ['export http_proxy=', 'ftp_proxy='] > > for file in f

Re: [Tutor] proxy switcher - was Re: I love python / you guys :)

2009-11-16 Thread Stephen Nelson-Smith
Hi, >> When i use our company's LAN i set my proxy variable by hand in .bashrc. >> There are 4 files to insert proxy variable: >> >> in ~/.bashrc, /root/.bashrc, /etc/wgetrc and /etc/apt/apt.conf. >> >> The last one is actually rename e.g. mv to apt.conf to activate proxy and mv >> to apt.conf.bak

[Tutor] proxy switcher - was Re: I love python / you guys :)

2009-11-16 Thread Stefan Lesicnik
On Mon, Nov 16, 2009 at 1:36 PM, bibi midi wrote: > > > On Mon, Nov 16, 2009 at 1:58 AM, Stefan Lesicnik wrote: >> >> hi, >> >> Although not a question, i just want to tell you guys how awesome you are! >> >> I am not a programmer, i can do a bit of bash. I have never officially >> learnt program

Re: [Tutor] Proxy

2006-02-20 Thread lumbricus
I like this one: "http://home.wtal.de/stampa/httpMonitor/"; It provides an interface to set up your own Filters. So you can easily block/modify requests/responses. HTH, J"o! -- Freedom, Freedom, Freedom, Oi! -- Zoidberg Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Sat

Re: [Tutor] Proxy

2006-02-18 Thread Terry Carroll
On Sat, 18 Feb 2006, Ismael Garrido wrote: > I been looking in the web for a Proxy which I could modify, but I can't > find anything useful. Twisted, maybe? http://wiki.python.org/moin/Twisted-Examples http://twistedmatrix.com/ ___ Tutor maillist

[Tutor] Proxy

2006-02-18 Thread Ismael Garrido
Hi. I been looking in the web for a Proxy which I could modify, but I can't find anything useful. Basically what I want to do is to monitor what's being loaded and modify the page if it matches certain regexps and source locations (Ie: a particular server). I found: http://xhaus.com/alan/pytho

Re: [Tutor] Proxy

2005-03-04 Thread Gwyn Evans
On Sat, 29 Jan 2005 16:23:29 -0800 (PST), Ali Polatel <[EMAIL PROTECTED]> wrote: > is it possible to connect to somewhere through a proxy while using sockets > module of Python to connect? If yes can you show me some basic examples? Yes, but not auto-magically. If you want to stay at the sockets

[Tutor] Proxy

2005-03-03 Thread Ali Polatel
is it possible to connect to somewhere through a proxy while using sockets module of Python to connect? If yes can you show me some basic examples? regards Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'___ Tutor maillist - Tutor@pyth