Simple python web server
Existe una forma rápida de compartir archivos vía web usando un simple comando de python:
python -m SimpleHTTPServer 9914
Con esto se compartirán todos los files del directorio en el que se ejecute este comando y sus subdirectorios en el puerto 9914.
Entonces es cuestión de abrir un browser en cualquier máquina que sea visible poniendo la ip y el puerto y se verán los archivos compartidos (ejemplo: http://192.168.1.1:9914)
There is a way to share files via web by entering a simple python command:
python -m SimpleHTTPServer 9914
With this, the directory where this command was executed will be shared (including the subdirectories) in the port 9914.
So, to access the file it will be a matter of open a browser with the ip and the port of the machine where the command was executed (eg. http://192.168.1.1:9914)
October 29th, 2010 12:53
Very useful, thank you! Keep it up!