Fix #1: Use python3 instead of python
This commit is contained in:
parent
4280d36e6c
commit
3d33b948b7
|
@ -18,7 +18,7 @@ xdg-open share.txt # Open file in your default editor
|
|||
|
||||
Otherwise, navigate to the directory with the file you would like to share. Now, unleash Python's built-in HTTP server!
|
||||
```sh
|
||||
python -m http.server
|
||||
python3 -m http.server
|
||||
```
|
||||
|
||||
Now scream your private IP address to your friend and tell them to go to http://*IPADDRESS*:8000 in their web browser. All they need to do is download the file. When everything's done, you can press Ctrl-C to stop the HTTP server. Mission accomplished!
|
||||
|
|
Loading…
Reference in a new issue