title: Python script - how to pass password as variable from command line arguments
body: <p>I am running a REST call using python to generate a access token.
  The REST call payload has password value.
  I dont want to hardcode the password there but pass it as an option while running the python script. Below is the payload inside the python script.</p>
  
  <pre><code>payload = "grant_type=client_credentials&amp;client_id=userid&amp;client_secret=password&amp;scope=AppIdClaimsTrust&amp;intent=RequestLink"
  </code></pre>
  
  <p>Currently I exectute the script by <strong>python script.py</strong></p>