Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # #do on terminal for the first time
- #
- # pip install httpie
- # alias https='http —default-scheme=https'
- import pprint
- from subprocess import call, run, PIPE
- #call(["ls", "-l"])
- x = run(
- ['http', 'https://www.blibli.com/'],
- stdin=None,
- shell=None,
- stdout=PIPE,
- )
- pprint.pprint(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement