Using pytz, I am able to get a list of timezones like so:
>>> from pytz import country_timezones
>>> print(\' \'.join(country_
@robertklep's approach probably works.
But here's another possible approach using astral - https://pypi.python.org/pypi/astral/0.5
>>> import datetime
>>> from astral import Astral
>>> city_name = 'London' # assuming we retrieve this from user input
>>> a = Astral()
>>> a.solar_depression = 'civil'
>>> city = a[city_name] # creates the city object given the city name above
>>> print('Information for %s/%s\n' % (city_name, city.country))
Information for London/England
>>> timezone = city.timezone
>>> print('Timezone: %s' % timezone)
Timezone: Europe/London