title: Python 3 - TypeError: can only concatenate str (not "bytes") to str
body: <p>I have this wrong code and can't find the fix.</p>
  
  <pre><code>49         os.system('powershell -enc 
      '+base64.b64encode(addpermissions.encode('utf_16_le')))   
      . 
      .
      .
       137 HexRegHash, HexRegSysk, jd, skew1, gbg, data = getRegistryValues(HexRID)
  </code></pre>
  
  <p>I have this error:</p>
  
  <pre><code>    Traceback (most recent call last):
        File "hash.py", line 137, in &lt;module&gt;
          HexRegHash, HexRegSysk, jd, skew1, gbg, data = 
      getRegistryValues(HexRID)
        File "hash.py", line 49, in getRegistryValues
          os.system('powershell -enc 
      '+base64.b64encode(addpermissions.encode('utf_16_le')))
      TypeError: can only concatenate str (not "bytes") to str
  </code></pre>