Python script that uploads a image to twitter