1👍
Is this what you mean?
>>> import twitter
>>> client = twitter.Api()
>>> latest_posts = client.GetUserTimeline("yourusername")
>>> print [s.text for s in latest_posts]
This is a sample using authentication:
>>> client = twitter.Api(username='yourusername', password='yourpassword')
>>> update = client.PostUpdate('The Twitter API is easy')
I will also give you a link for Python Library Documentation:
Source:stackexchange.com