Manjaro Difference between revisions of "Sharing files with Python"

Difference between revisions of "Sharing files with Python"

From Manjaro
imported>Viking60
(→‎Installation: changed to python 3)
imported>Viking60
(→‎using it: changed to python3)
Line 82: Line 82:
To make a permanent server on port 8080 with python; you can go to the directory you want to share and type:
To make a permanent server on port 8080 with python; you can go to the directory you want to share and type:


  twistd web --path .  
  twistd3 web --path .  
[[File:Twisted.jpg|thumb|left|375px]]
[[File:Twisted.jpg|thumb|left|375px]]
twistd web will then start and you can access in the browser with:
twistd web will then start and you can access in the browser with:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.