title: Hash having slashes added when appending to a list (Python)
body: <p>When using os.urandom(64) it generates a string with 64 random characters, this works as intended but oddly when turning it, alongside other data into a list (I need to do this to writerow into a csv file) it turns the slashes into double slashes.</p>
  <p><strong>Normal Salt:</strong>
  b'\xfe\x82;o\xa6\x8e\xfeF]\x140\x02+\xe9\x82\xa0j\x0e\xe19n\x02\xa0_t\xb6\xa8\xe1u\xc6\x94\x9a\xb94P\t\x83\xe0\x0e&amp;B\xda\xe5)62\xa3l\x807\xb6\xd8\x0bU\xd0\xf1\xe0\xf7R:\xbc\xfe\x86\x96'</p>
  <p><strong>Salt within the list:</strong>
  &quot;b'\xfe\x82;o\xa6\x8e\xfeF]\x140\x02+\xe9\x82\xa0j\x0e\xe19n\x02\xa0_t\xb6\xa8\xe1u\xc6\x94\x9a\xb94P\t\x83\xe0\x0e&amp;B\xda\xe5)62\xa3l\x807\xb6\xd8\x0bU\xd0\xf1\xe0\xf7R:\xbc\xfe\x86\x96'&quot;</p>
  <p>Code:</p>
  <pre><code>def SaltGenerator():  # Used to generate Salts to be stored, will not be run in final code as salts will be stored
      salt = os.urandom(64)  # Generates a cryptographically secure random string
      return salt
  
  def CSVAppend(Directory,Value):
      with open (os.path.join(sys.path[0],Directory),&quot;a&quot;, newline = &quot;&quot;) as Write:
          writer = csv.writer(Write)
          writer.writerow(Value)
  import os
  import csv
  import sys
  
  Salt = str(SaltGenerator())
  print(Salt)
  UsernameSaltHashedPasswordAppend=[Salt]
  print(UsernameSaltHashedPasswordAppend)
  CSVAppend(&quot;UsernameSaltHashedPassword&quot;,UsernameSaltHashedPasswordAppend)
  </code></pre>