python-Twitter-api
Question: 
    import twitter
    
    client = twitter.Api()
    
    client = twitter.Api(username='uname', password='password')
    
    update = client.PostUpdate('Tweetin from python!')
    

This is my code. When i execute this program i get this error

    
    
    TypeError: __init__() got an unexpected keyword argument 'username'
    

Can someone help me?


Answer: take a look at this tutorial [Twitter From the Command Line in Python Using
OAuth](http://jeffmiller.github.com/2010/05/31/twitter-from-the-command-line-
in-python-using-oauth)

