title: How to create a timezone-aware time object in python
body: <p>I need to add timezones (for example, New York) to a time object I create</p>
  <p>Like this :</p>
  <pre><code>import datetime
  import pytz
  
  mytime = datetime.time(12,00,00)
  time_zone = pytz.timezone(&quot;America/New_York&quot;)
  local_time = time_zone.localize(mytime)
  </code></pre>
  <p>but I got this error :</p>
  <pre><code>Traceback (most recent call last):
    File &quot;&lt;console&gt;&quot;, line 1, in &lt;module&gt;
    File &quot;/home/admin1/envs/myvenv/lib/python3.8/site-packages/pytz/tzinfo.py&quot;, line 323, in localize
      loc_dt = dt + delta
  TypeError: unsupported operand type(s) for +: 'datetime.time' and 'datetime.timedelta'
  </code></pre>