python http open server session code example Example 1: python3 webserver command line Click to copypython3 -m http.server Example 2: http.server python Click to copypython -m http.server 8000