domain = """الاعلي-للاتصالات.قطر"""
domain_unicode = str(domain, 'utf8')
domain_idna = domain_unicode.encode('idna')
urllib.request.urlopen('http://' + domain_idna).read()
open persian url domains with urllib2