It's not python specific. If you visit twitter and have a look at it's API you'll see that there are a lot of different web based languages you can use.
Twitter recently stopped old-style authentication for its API. Authorization is now probably a little too advanced for the arduino to handle on its own so you'll need something inbetween. It's up to you whether that's another web site or your PC.