title: import sys error in pycharm 2.5.1
body: <p>I'm a newbie using python and ubuntu, and I'm trying to <code>import sys</code> to my code , but it always gave me an error with the element that is using <code>sys</code>:</p>
  
  <pre><code>import sys
  Q = sys.argv[1]
  </code></pre>
  
  <p>the error came with every statement that is using the sys, even when I comment the one that has the error, the one after it then will have an error ...</p>
  
  <pre><code>Q = sys.argv[1]
  </code></pre>
  
  <p>the error:</p>
  
  <pre><code>"IndexError: list index out of range"
  </code></pre>
  
  <p>Q: Is there anyway to import <code>sys</code> to the <code>pycharm</code> ??</p>
  
  <p>Q: What are the prerequisite of it?</p>