Anders and Briegel in Python
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
304B

  1. import requests
  2. import abp, json
  3. import time
  4. def _test_client():
  5. client = abp.Client(clear=True)
  6. client.clear()
  7. for i in range(100):
  8. client.add_node(i)
  9. client.act_local_rotation(i, 10)
  10. for i in range(100-1):
  11. client.act_cz(i, i+1)
  12. print client.get_state()