python 死循环

import requests;
import json;


var = 1
x = 1
while var == 1:
    x = x + 1
    print(x);
    r = requests.get(url="http://localhost:80/get?orderNo=123123");
    print( "---" + r.text);

 

posted on 2021-07-12 10:55  oktokeep  阅读(190)  评论(0编辑  收藏  举报