title: Whats wrong with my datetime.strptime format?
body: <p>With this function:</p>
  
  <pre><code>timestamp = datetime.strptime(date_str, date_fmt)
  </code></pre>
  
  <p>I am getting this error:</p>
  
  <blockquote>
    <p>ValueError: time data 'Sun, 28 Oct 2018 07:33:13 -0400 (EDT)' does not
    match format '%a, %d %b %Y %H:%M:%S %z (%Z)'</p>
  </blockquote>
  
  <pre><code>Sun, 28 Oct 2018 07:33:13 -0400 (EDT)
  %a, %d %b %Y %H:%M:%S %z (%Z)
  </code></pre>
  
  <p>I've <a href="https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior" rel="nofollow noreferrer">looked over it a dozen times</a> and I can't figure out what I am doing wrong.</p>
  
  <p>My Python Version:</p>
  
  <pre><code>Python 3.7.0 (default, Jul 23 2018, 20:24:19) 
  </code></pre>