mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
Use PY3 http.server instead of SimpleHTTPServer
This commit is contained in:
committed by
GitHub
parent
6140459d2c
commit
e4ca32a36c
@@ -83,7 +83,7 @@ Go to your command prompt and type:
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ cd archive
|
$ cd archive
|
||||||
$ python -m SimpleHTTPServer 9000
|
$ python -m http.server 9000
|
||||||
|
|
||||||
This runs a simple HTTP server running on port 9000 and will list all packages
|
This runs a simple HTTP server running on port 9000 and will list all packages
|
||||||
(like **MyPackage**). Now you can install **MyPackage** using any Python
|
(like **MyPackage**). Now you can install **MyPackage** using any Python
|
||||||
|
|||||||
Reference in New Issue
Block a user