funny url checker
This commit is contained in:
parent
fed5ac26b5
commit
cf703c7bdd
1 changed files with 8 additions and 3 deletions
11
src/test.py
11
src/test.py
|
|
@ -1,6 +1,11 @@
|
|||
from time import sleep
|
||||
import requests as http
|
||||
from time import sleep, time
|
||||
|
||||
for i in range(1,10):
|
||||
sleep(i)
|
||||
print(f"Num is: {i}")
|
||||
sleep(1)
|
||||
startTime = time()
|
||||
http.get("https://fs.gjkoolen.com")
|
||||
endTime = time()
|
||||
duration = endTime - startTime
|
||||
print(f"⏱️ Request took **{duration:.4f} seconds**")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue