Is there a list of Pytz Timezones?
Yes, you can use the all_timezones
attribute of the pytz
library to get a list of all the timezones that it supports. Here is a code snippet that shows how to use it:
This will print a list of all the timezones that are supported by the pytz
library.
You can also use pytz.country_timezones
to get a list of timezones by country.
For example pytz.country_timezones['us']
will give you all the timezones of United states.