serveit icon indicating copy to clipboard operation
serveit copied to clipboard

Is there any method or parameter that can remove the response of the server's conditions?

Open xianfenggao opened this issue 5 years ago • 1 comments

xianfenggao avatar Aug 15 '19 06:08 xianfenggao

I use the python3 os.popen() to quest my local server. Every time I query the server , there will also be the infomation like this:

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 242 100 242 0 0 8869 0 --:--:-- --:--:-- --:--:-- 8962 [[["n02883205", "bow_tie", 0.5468300580978394], ["n03814639", "neck_brace", 0.29125991463661194], ["n04357314", "sunscreen", 0.01032443530857563], ["n02786058", "Band_Aid", 0.008892652578651905], ["n04350905", "suit", 0.008873417973518372]]]

I just want to remove the rest infomation and just keep the predcition results. Is there any method? Thanks for any help

xianfenggao avatar Aug 15 '19 06:08 xianfenggao