Re: Internationalized domain names not working with URLopen

2012-06-12 Thread Виталий Волков
Answer in this topic should help you to solve issue. http://stackoverflow.com/questions/8152161/open-persian-url-domains-with-urllib2?answertab=active#tab-top Regards. 2012/6/13 John Nagle > I'm trying to open > > http://пример.испытание > > with > > url

Re: return respective values when mutiple keys are passed in dictionary

2012-05-07 Thread Виталий Волков
You can try to use map(mydict.get, ('a', 'b', 'c')) and then make join On May 7, 2012 2:33 PM, "Nikhil Verma" wrote: > HI All > > I was clearing my concepts on dictionary and stuck in this problem. > I have a dictionary which i have formed by using zip function on two list > so that one list (whi

Re: "ImportError: No module named gobject"

2011-02-21 Thread Виталий Волков
You should install python-gobject 2011/2/21 Luther > I recently had to install 2.7.1 from source, and since then, I have > been unable to run exaile, which comes with Trisquel 4.0. Here is the > error message: > > Traceback (most recent call last): > File "/usr/lib/exaile/exaile.py", line 52, i