How do you fill a variable with an empty space in Python?
<p>I am extracting the metadata of audio files to create full Titles.
When I extract the metadata of a file, sometimes there are fields that are not filled up, thus returning a variable that is <code>None</code>.</p>

<p>How can I fill a variable with a whitespace so it is not <code>None</code> and it just shows a whitespace on the final title ?</p>

<pre><code>if key.startswith("genre"):
    genre = value[0]
      if genre == None:
          genre = ''
</code></pre>