We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef869d0 commit 5688403Copy full SHA for 5688403
1 file changed
specs/python/start_server.yml
@@ -0,0 +1,16 @@
1
+---
2
+name: Start a simple HTTP server using Python
3
+command: "python3 -m http.server {{port}} -d {{directory}}"
4
+tags: ["python"]
5
+description: Start a simple HTTP server using Python 3, using the in-built http.server module.
6
+arguments:
7
+ - name: port
8
+ description: The port number that the server should listen on.
9
+ default_value: ~
10
+ - name: directory
11
+ description: The directory to which the server will serve files.
12
13
+source_url: "https://stackoverflow.com/questions/7943751/what-is-the-python-3-equivalent-of-python-m-simplehttpserver"
14
+author: anand-tripathi
15
+author_url: "https://stackoverflow.com/users/5230702/anand-tripathi"
16
+shells: []
0 commit comments