How to get a list of Python Pytz Timezones?

To get a list of Python Pytz Timezones, we can use pytz.all_timezones.

For instance, we write

import pytz
pytz.all_timezones

to get a list of all timezones with pytz.all_timezones.