Difference between revisions of "Sharing files with Python"

imported>Viking60
imported>Viking60
Line 81: Line 81:


===using it===
===using it===
To make a permanent server with python you can go to the directory you want to share and type:
To make a permanent server on port 8000 with python; you can go to the directory you want to share and type:


  twistd web --path . --port 8000
  twistd web --path . --port 8000
Line 92: Line 92:


  twistd web
  twistd web
 
===Stopping the server===  
===Stopping the server===  


Anonymous user