Add request to http
This commit is contained in:
parent
1e94110bca
commit
dc398cde58
1 changed files with 2 additions and 0 deletions
|
@ -5,8 +5,10 @@ the calc.py library's 'add2' function.
|
|||
|
||||
import sys
|
||||
import calc
|
||||
import requests
|
||||
|
||||
argnumbers = len(sys.argv) - 1
|
||||
r =requests.get('https://xkcd.com/1906/')
|
||||
|
||||
if argnumbers == 2 :
|
||||
print("")
|
||||
|
|
Loading…
Reference in a new issue