+ 13
How to use python as a localhost server.
I am creating this thread to show people some of Python's hidden gems haha. Not many people I know, knew that Python can be used as a localhost server but here's how to do it. 1. Open your command line. 2. Ensure your python version is 3.x meaning 3 and above 3. Run this command. - python -m http.server 4. open a new tab 5. Type in this URL - localhost:8000 And that's it! Your welcome 😏😊
3 Réponses
+ 11
oooo
+ 10
Always valuable to learn something new :)
+ 2
it awesome