title: Why am I getting name 'twitter' is not defined even when I imported twitter module?
body: <p>I am following twitter help documentation and tried to get access to a friends statuses. But I keep getting error in the last line. The error is NameError: name 'twitter' is not defined. I am using REST, python 2.7.8 on windows. I am writing my code on Notepad++ and then importing it in cmd.This is my code:    </p>
  
  <pre><code>from twitter import *
  consumer_key = ''
  consumer_secret = ''
  access_token = ''
  access_token_secret = ''
  x = twitter.statuses.user_timeline(id = "ArpitMittal108")
  </code></pre>