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?
usernameandpasswordarguments to the API constructor. Have you read the documentation?