<s> """<STR_LIT>""" <EOL> import sys <EOL> from twisted . internet import reactor <EOL> from twittytwister import twitter <EOL> import oauth <EOL> def cb ( x ) : <EOL> print "<STR_LIT>" , x <EOL> def eb ( e ) : <EOL> print e <EOL> consumer = oauth . OAuthConsumer ( sys . argv [ <NUM_LIT:1> ] , sys . argv [ <NUM_LIT:2> ] ) <EOL> token = oauth . OAuthToken ( sys . argv [ <NUM_LIT:3> ] , sys . argv [ <NUM_LIT:4> ] ) <EOL> twitter . Twitter ( consumer = consumer , token = token ) . update ( '<STR_LIT:U+0020>' . join ( sys . argv [ <NUM_LIT:5> : ] ) <EOL> ) . addCallback ( cb ) . addErrback ( eb ) . addBoth ( lambda x : reactor . stop ( ) ) <EOL> reactor . run ( ) </s>
