Usage
import twitpic
twit = twitpic.TwitPicAPI('USERNAME', 'PASSWORD')
twitpic_url = twit.upload('FILE_LOCATION')
# Post to Twitter
#twitpic_url = twit.upload('FILE_LOCATION', post_to_twitter=True)
#twitpic_url = twit.upload('FILE_LOCATION', message='messages rock!', post_to_twitter=True)
print twitpic_urlUsage via Commandline
$ twitpic -h
Usage: twitpic -u USER_NAME options IMG_PATH
Options:
-h, --help show this help message and exit
-u USER, --user=USER Twitpic user name
-p PASSWD, --passwd=PASSWD Twitpic password
-b, --both post to twitter together
-m MSG, --msg=MSG message