title: Hide credential in Python script
body: <p>What is the best method to hide credential in a Python script?
  I would like to avoid storing it in clear text.</p>
  
  <pre><code>import paramiko
  
  # how to avoid clear text ?
  my_server='myserver'
  my_password='mysecret'
  
  ssh = paramiko.client.SSHClient()
  ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  try:
      ssh.connect(my_server, username='root', password=my_password)
  except paramiko.SSHException:
      print("Connection Failed")
      quit()
  </code></pre>
  
  <p>If I create an myscript.exe with pyInstaller, is it possible to retrieve the clear text (my_server and my_password) "disassembling" the .exe?</p>
  
  <p>Thanks</p>