# coding: UTF-8 from repast import app if __name__ == '__main__': app.run(host='127.0.0.1', port=9909, debug=True)
# coding: UTF-8 from repast import app if __name__ == "__main__": app.run(host="0.0.0.0", port=1234, debug=True)
from repast import app import sys arglen = len(sys.argv) if __name__ == '__main__': if arglen == 3: app.run(host=sys.argv[1], port=int(sys.argv[2])) else: print("Error args number, need ip and port");
from repast import app if __name__ == '__main__': app.run(host='127.0.0.1', port=1234)
# coding: UTF-8 from repast import app if __name__ == '__main__': app.run(host='0.0.0.0', port=9909, debug=True)
from repast import app if __name__ == '__main__': app.run(host='0.0.0.0', port=1234)
from repast import app import sys arglen = len(sys.argv) if __name__ == '__main__': if arglen == 3: app.run(host=sys.argv[1], port=int(sys.argv[2])) else: print("Error args number, need ip and port")