473,324 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

use browser setting for internet

Hi
I have a problem with my script in python which uses xmlrpc. The script
loses internet connection when it is used behind a firewall. I realize
that the firewall is specified by using the http_proxy environment
variable. However, the proxy server is automatically configured. I dont
have access to its port or the IP.
I have seen applications which have a select box to use the internet
connection setting of the browser to connect to the web. I dont know
how to access this connection setting in Python. Any help will be much
appreciated..
-Wish

Jan 8 '06 #1
1 1116
"Wish" <wg*****@gmail.com> writes:
Hi
I have a problem with my script in python which uses xmlrpc. The script
loses internet connection when it is used behind a firewall. I realize
that the firewall is specified by using the http_proxy environment
variable. However, the proxy server is automatically configured. I dont
have access to its port or the IP.
I have seen applications which have a select box to use the internet
connection setting of the browser to connect to the web. I dont know
how to access this connection setting in Python. Any help will be much
appreciated..


What OS?

On Windows, urllib.getproxies() should get you the info you need if IE
is correctly configured (and both urllib and urllib2 use this --
though the @ syntax is somewhat broken in urllib2, IIRC).

Disclaimer: I never seem to have to jump through any proxy or auth
hoops recently, so I'm not very reliable on this...
John
Jan 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Michael G. Schneider | last post by:
I recently upgraded my servers to 2003. Since then the error-information shown in the browser has changed. For example, if under Windows 2000 I executed an SQL statement from within an ASP, and...
25
by: Ryan Stewart | last post by:
I'm working on a project to collect web application usage statistics. What are the recommended ways of detecting whether a browser is JavaScript enabled and/or capable? Obviously I can write a...
0
by: VZUmar | last post by:
Hi I am using IWebBrowser2 in my VC++ windows Application, My application uses browser control to navigate through different web pages. IE of machine has Security setting "Empty Temporary Internet...
3
by: Stuart Read | last post by:
Hi, - I'm running .NET framework 1.1 on win2k server I'm investigating error pages at the moment. I have found how to: a) display friendly or real .NET errors in the remote browser, by...
5
by: David Baker | last post by:
Hi all I am very new to ASP.Net. I am trying to create a sniffer for our program. We want our users to click our sniffer and hopefully the sniffer will check their computer against our...
5
by: Brian Shannon | last post by:
I have been having problems with IE 6 so I am temperarily using Mozilla. Does anyone know how to change the default browser that .NET studio opens when you are testing/compiling a project? I...
6
by: Jeff Robichaud | last post by:
I've been trying to use a browser other than IE in VS.NET with no success. The default browser on my PC is Firefox, and it is also the default browser for opening web documents from the Solution...
2
by: Sai Kiran | last post by:
Hi! 1. I am using asp.net 2.0 for my application and was wondering is there a way we can hide address bar, menu bar, Links and Standard Buttons of the browser without opening a new window. ...
7
by: Nathan Sokalski | last post by:
I want to make sure I am doing a browser detection that will work once IE7 is released. My current detection statement (written using VB.NET) is: If Me.Request.Browser.Browser.ToUpper() = "IE"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.