Skip to content

Python3 about win32  #14

@ZhaoXuDongTJ

Description

@ZhaoXuDongTJ

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions