Can't install time module

前端 未结 8 1382
执念已碎
执念已碎 2021-01-04 02:31

I\'ve tried pip install time and sudo -H pip install time, but I keep getting the error:

Could not find a version that sati

相关标签:
8条回答
  • 2021-01-04 02:48

    just use it . time library default installed in python for use : add to code :

    import time
    

    and use for example :

    time.sleep(20) #20 second
    
    0 讨论(0)
  • 2021-01-04 02:57

    Try using time.sleep(secs) that should work fine.

    0 讨论(0)
提交回复
热议问题