python-ping icon indicating copy to clipboard operation
python-ping copied to clipboard

Python3 about win32

Open ZhaoXuDongTJ opened this issue 5 years ago • 0 comments

we can't run in windows

D:\Program Files\Python3>python ping_new1.py ping_new1.py:168: DeprecationWarning: time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.perf_counter or time.process_time instead data = struct.pack("d", default_timer()) + data.encode() ping_new1.py:130: DeprecationWarning: time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.perf_counter or time.process_time instead startedSelect = default_timer() ping_new1.py:132: DeprecationWarning: time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.perf_counter or time.process_time instead howLongInSelect = (default_timer() - startedSelect) ping 'heise.de' ... Timeout > 2s ping 'heise.de' ... Timeout > 2s ping 'heise.de' ... Timeout > 2s ping 'heise.de' ... Timeout > 2s ping 'baidu.com' ... Timeout > 2s ping 'baidu.com' ... Timeout > 2s ping 'baidu.com' ... Timeout > 2s ping 'baidu.com' ... Timeout > 2s

I have much time to solve this problem, I need your help! Thanks !

ZhaoXuDongTJ avatar Sep 22 '19 04:09 ZhaoXuDongTJ