title: command line input case sensitivity
body: <p>I am using command line inputs to do some simple tasks in my .py script.</p>
  
  <p>My inputs are .py (GPIO) (SERIAL) (Log) (Debug)(Can Include an integer) (Pin)(Can include an Integer) (Verbose) (Help)</p>
  
  <p>Of course it is all user input so it is case sensitive. </p>
  
  <p>I am using:</p>
  
  <pre><code>if "gpio" in [x.lower() for x in sys.argv]:
  </code></pre>
  
  <p>which works fine and</p>
  
  <pre><code>if str(['Debug','10'])[1:-1] in str([sys.argv]):
  if str(['Pin','10'])[1:-1] in str([sys.argv]):
  </code></pre>
  
  <p>Which works fine for Case Sensitive and exact integer value but fails for Case Sensitivity and different integer values.
  So I need to make this accept any case str.lower() and any integer value int()
  But everything I try fails. str.lower wont accept lists and I'm not sure what to do with integer.</p>
  
  <p>I'd like to do this without importing a module if possible.</p>