Re: urllib2 on Windows Vista

2006-07-09 Thread Sriram Krishnan

Rune Strand wrote:
 My wil guess is that it is a firewall problem. Perhaps you'll have to
 specify that python.exe is trusted.

Tried that - it didn't work. I also tried turning off the User Account
Control and ran as full administrator - that didn't work too.

-- 
http://mail.python.org/mailman/listinfo/python-list


urllib2 on Windows Vista

2006-07-08 Thread Sriram Krishnan
I'm running Python 2.4.3 on Windows Vista June CTP. I'm not able to
open any site using the urllib2 and related family of modules

Here's what I get

 import urllib2
 urllib2.urlopen(http://www.microsoft.com;)
Traceback (most recent call last):
  File stdin, line 1, in ?
  File D:\python24\lib\urllib2.py, line 130, in urlopen
return _opener.open(url, data)
  File D:\python24\lib\urllib2.py, line 358, in open
response = self._open(req, data)
  File D:\python24\lib\urllib2.py, line 376, in _open
'_open', req)
  File D:\python24\lib\urllib2.py, line 337, in _call_chain
result = func(*args)
  File D:\python24\lib\urllib2.py, line 1021, in http_open
return self.do_open(httplib.HTTPConnection, req)
  File D:\python24\lib\urllib2.py, line 996, in do_open
raise URLError(err)
urllib2.URLError: urlopen error (11001, 'getaddrinfo failed')

Is this a known issue on Windows Vista?

Thanks,
Sriram

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: editor for Python on Linux

2006-02-19 Thread Sriram Krishnan
Mladen Adamovic wrote:
 Hi!
 
 I wonder which editor or IDE you can recommend me for writing Python 
 programs. I tried with jEdit but it isn't perfect.
 

Check out http://wiki.python.org/moin/PythonEditors. I personally use Emacs

-- 
Sriram
-- 
http://mail.python.org/mailman/listinfo/python-list