Python: Difference between revisions

From Halfface
Jump to navigation Jump to search
(Replaced content with "=version= Show python version python -V =make an http request= import requests r =requests.get('https://halfface.se') print(r.text)")
Tag: Replaced
Line 6: Line 6:
  r =requests.get('https://halfface.se')
  r =requests.get('https://halfface.se')
  print(r.text)
  print(r.text)
=import=
Import functions.
import $module

Revision as of 09:06, 23 April 2021

version

Show python version

python -V

make an http request

import requests
r =requests.get('https://halfface.se')
print(r.text)

import

Import functions.

import $module