<s> import thriftpy <EOL> from thriftpy . rpc import client_context <EOL> pingpong = thriftpy . load ( "<STR_LIT>" ) <EOL> def main ( ) : <EOL> with client_context ( pingpong . PingService , '<STR_LIT:127.0.0.1>' , <NUM_LIT> ) as c : <EOL> pong = c . ping ( ) <EOL> print ( pong ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
