title: Explicitly declaring a variable type in Python
body: <p>I use <a href="http://code.google.com/p/pyscripter/">pyscripter</a> for coding, it supports auto-completion. So, when I say:</p>
  
  <pre><code>a = []
  a.
  </code></pre>
  
  <p>It gives me all the list functions. similarly with strings I do <code>b=''</code>. </p>
  
  <p>But for the <code>file</code> type, I have to use <code>file.</code> and choose the function and write its arguments and then replace <code>file</code> with the variable name.</p>
  
  <p>Is there a way to declare a variable type explicitly in Python, so that my IDE can be more useful?</p>