355 B
355 B
up:: python
title:: python3 -m http.server [port]
#informatique/python
Comment rendre un dossier du système accessible via http.
[!definition] syntaxe
$> python3 -m http.server
- sert par défaut sur
localhost:8000
en précisant le port à utiliser :
$> python3 -m http.server [port]
^syntaxe