title: Why is `str` not defined?
body: <p>In python I wrote:</p>
  <pre><code>from base64 import b64encode
  import os
  import uuid
  import xml.etree.ElementTree as ET
  
  
  def scan_network_for_list_of_ips(dest_network = '10.10.10.0/24'):
      print(' '.join(['Scanning',dest_network]))
      file_name = 'nmap_' + str(uuid.uuid4()) + '.txt'
  </code></pre>
  <p>But I'm getting:</p>
  <pre><code>&quot;str&quot; is not definedPylancereportUndefinedVariable)
  </code></pre>
  <p>What does that mean? str isn't a variable...</p>
  <p>When I run my code I get:</p>
  <pre><code>UnboundLocalError: local variable 'str' referenced before assignment
  </code></pre>