Skip to content

Nico Maas

IT Systemelektroniker & Master of Science, IT Security, Networks, Embedded Systems, Docker Campus Ambassador and Raspberry Pi Geek

  • Twitter
  • Mastodon
  • Linkedin
  • Github
  • Keybase
  • Hackster
  • RSS
  • Home
  • Papers
  • Talks
  • Videos
  • About
  • Impressum
  • Datenschutzerklärung

Tag: HTML

[Python] Python HTTP Server One Liner

As fidepus learned the "Python HTTP Server One Liner" from anyk, I needed to duplicate this wisdom myself - because I'll forget it as well ;)!

These commands will start an HTTP server on the current directory, listening on Port 8080.

Python 2.X:
python -m SimpleHTTPServer

Python 3.X:
python -m http.server

Original Post and Kudos to: http://www.fidepus.de/2014/05/python-server-one-liner/

Nico Maas Python Leave a comment 19. January 2015 1 Minute
Proudly powered by WordPress | Theme: Independent Publisher 2 by Raam Dev.
 

Loading Comments...
 

    We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.