Esempio n. 1
0
def getCountryWiki(x):
    if x == 'us-ga':
        return 'Georgia (U.S. state)|Georgia'
    if x == 'in-pb':
        return 'Punjab (India)'
    if x == 'in-ul':
        return 'Uttaranchal'
    if x == 'in-py':
        return 'Puducherry'
    if x == 'us-wa':
        return 'Washington (U.S. state)|Washington'
    if x == 'cg':
        return 'Republic of the Congo'
    if x == 're':
        return 'Réunion'
    if x == 'ge':
        return 'Georgia (country)|Georgia'
    else:
        return ecoInfo.getCountry(x)
Esempio n. 2
0
def getCountryWiki(x):
    if x == 'us-ga':
        return 'Georgia (U.S. state)|Georgia'
    if x == 'in-pb':
        return 'Punjab (India)'
    if x == 'in-ul':
        return 'Uttaranchal'
    if x == 'in-py':
        return 'Puducherry'
    if x == 'us-wa':
        return 'Washington (U.S. state)|Washington'
    if x == 'cg':
        return 'Republic of the Congo'
    if x == 're':
        return 'Réunion'
    if x == 'ge':
        return 'Georgia (country)|Georgia'
    else:
        return ecoInfo.getCountry(x)
Esempio n. 3
0
def printCCodeFlickr(code):
    return '<b>' + ecoInfo.getCountry(code) + '</b><br>'
Esempio n. 4
0
def printCCodeFlickr(code):
    return '<b>' + ecoInfo.getCountry(code) + '</b><br>'