Difference between revisions of "Sharing files with Python"

no edit summary
imported>Cscs
imported>Cscs
Line 24: Line 24:
  python -m http.server
  python -m http.server


Now go to the computer, phone or tab that should receive the files and open a browser.
Now go to the computer, phone or tab that should receive the files and open a browser.[[File:sharing.jpg|thumb|right|375px]]
In the url field of the browser you type  
In the url field of the browser you type  


  <nowiki>http://the_IP_of_the_sharing_computer:8000</nowiki>
  <nowiki>http://the_IP_of_the_sharing_computer:8000</nowiki>
[[File:sharing.jpg|thumb|right|375px]]
 
To find the IP of the computer you want to share from you type:
To find the IP of the computer you want to share from you type:
  ip addr
  ip addr
Anonymous user