<s> import urllib2 <EOL> import argparse <EOL> import numpy as np <EOL> import urllib2 <EOL> import cStringIO <EOL> import sys <EOL> import tempfile <EOL> import h5py <EOL> def main ( ) : <EOL> parser = argparse . ArgumentParser ( description = '<STR_LIT>' ) <EOL> parser . add_argument ( '<STR_LIT>' , action = "<STR_LIT:store>" ) <EOL> parser . add_argument ( '<STR_LIT>' , action = "<STR_LIT:store>" ) <EOL> parser . add_argument ( '<STR_LIT>' , action = "<STR_LIT:store>" , help = '<STR_LIT>' ) <EOL> result = parser . parse_args ( ) <EOL> try : <EOL> import httplib <EOL> conn = httplib . HTTPConnection ( "<STR_LIT:%s>" % ( result . baseurl ) ) <EOL> conn . request ( '<STR_LIT>' , '<STR_LIT>' % ( result . token , result . annids ) ) <EOL> resp = conn . getresponse ( ) <EOL> content = resp . read ( ) <EOL> except httplib . HTTPException , e : <EOL> print "<STR_LIT>" % ( e ) <EOL> sys . exit ( <NUM_LIT:0> ) <EOL> print "<STR_LIT>" % content <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> main ( ) </s>
