Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions pyCountry.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import pycountry
from pycountry import countries

countr = {}
print(countries.get(alpha_2='DE'))

t = list(pycountry.countries)

for country in t:
countr[country.alpha2] = country.name
#import pycountry

print countr
#countr = {}

#t = list(pycountry.countries)

#for country in t:
#countr[country.alpha2] = country.name

#print countr