运行python-thrift的DEMO
摘要:
启动服务器和客户端cd ~/thrift-0.8.0/thrift -r --gen py tutorial.thrift #生成代码cd py./PythonServer.py #启动服务器cd ~/thrift-0.8.0/py./PythonClient.py #在另一个shell窗口启动客户端结果启动服务器的时候产生一个错误shujunli@mysvr1:~/thrift-0.8.0/tutorial/py$ ./PythonServer.py Starting the server...Traceback (most recent call last): File "./P 阅读全文
posted @ 2012-07-09 23:59 codestyle 阅读(835) 评论(0) 推荐(0)