Translations:Sharing files with Python/37/en

Revision as of 18:37, 7 September 2021 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Python is often updated so if you get any errors running the command above you can alternatively try:

python -c 'from twisted.web.server import Site; from twisted.web.static import File; from twisted.internet import reactor; reactor.listenTCP(8000, Site(File("."))); reactor.run()'

break it off with CTRL+Z and then type bg to start it in the background.