Next once run the script twitter_oauth.py after which a window will come up to authorize your app and once you authorize the app it show a screen with a pin, copy that and paste in command line at a prompt to provide the pin.