Python Web Runner - Running Python scripts over HTTP
Project description
::
NEWS
----
Tested with ".py.txt"
Tested with PyternetBrowser version 0.0.5
FILES LIST
----------
src/cache/cache.txt
src/cache.py files stored system with SQLite
src/gui.gif
src/gui.py user interface made with wxPython
src/server.bat SimpleHTTPServer for test
src/test.py
history.txt
README.txt
DEPENDENCES
-----------
Python 2.5.1 (contains SQLite3)
wxPython 2.8.7.1
TUTORIAL
--------
Unzip the archive PyWebRun-x.x.x.tar.gz and open a console in the unzipped SRC
folder:
PyWebRun/src
Type in your console (for windows):
server.bat
(for linux to see inside server.bat)
It run a local HTTP server:
Serving HTTP on 0.0.0.0 port 8000 ...
Test with your browser the URL http://localhost:8000
Open a new console in SRC folder and type
python gui.py
It run the user interface "PyWebRun - Python Web Runner" (GUI).
Type in GUI:
run http://localhost:8000/test.py
The command open the test frame "HELLO! Test"
end show in output:
cmd> run http://localhost:8000/test.py
downloading http://localhost:8000/test.py
downloaded as a0057d79e8adb11dc9856444553540000.py
HELLO!
downloading http://localhost:8000/gui.gif
downloaded as a02c3595e8adb11dcb039444553540000.gif
Close the test frame.
Go on GUI, focus on commands field, press KEY DOWN.
This show the last command, press ENTER.
The command re-open the test frame "HELLO! Test" from cache
end show in output:
cmd> run http://localhost:8000/test.py
get http://localhost:8000/test.py
from cache a0057d79e8adb11dc9856444553540000.py
HELLO!
get http://localhost:8000/gui.gif
from cache a02c3595e8adb11dcb039444553540000.gif
Go in CACHE folder PyWebRun/src/cache and read cache.txt
NEWS
----
Tested with ".py.txt"
Tested with PyternetBrowser version 0.0.5
FILES LIST
----------
src/cache/cache.txt
src/cache.py files stored system with SQLite
src/gui.gif
src/gui.py user interface made with wxPython
src/server.bat SimpleHTTPServer for test
src/test.py
history.txt
README.txt
DEPENDENCES
-----------
Python 2.5.1 (contains SQLite3)
wxPython 2.8.7.1
TUTORIAL
--------
Unzip the archive PyWebRun-x.x.x.tar.gz and open a console in the unzipped SRC
folder:
PyWebRun/src
Type in your console (for windows):
server.bat
(for linux to see inside server.bat)
It run a local HTTP server:
Serving HTTP on 0.0.0.0 port 8000 ...
Test with your browser the URL http://localhost:8000
Open a new console in SRC folder and type
python gui.py
It run the user interface "PyWebRun - Python Web Runner" (GUI).
Type in GUI:
run http://localhost:8000/test.py
The command open the test frame "HELLO! Test"
end show in output:
cmd> run http://localhost:8000/test.py
downloading http://localhost:8000/test.py
downloaded as a0057d79e8adb11dc9856444553540000.py
HELLO!
downloading http://localhost:8000/gui.gif
downloaded as a02c3595e8adb11dcb039444553540000.gif
Close the test frame.
Go on GUI, focus on commands field, press KEY DOWN.
This show the last command, press ENTER.
The command re-open the test frame "HELLO! Test" from cache
end show in output:
cmd> run http://localhost:8000/test.py
get http://localhost:8000/test.py
from cache a0057d79e8adb11dc9856444553540000.py
HELLO!
get http://localhost:8000/gui.gif
from cache a02c3595e8adb11dcb039444553540000.gif
Go in CACHE folder PyWebRun/src/cache and read cache.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyWebRun-0.0.3.tar.gz
(4.2 kB
view details)
File details
Details for the file PyWebRun-0.0.3.tar.gz.
File metadata
- Download URL: PyWebRun-0.0.3.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f11c02f5730e8e77a0b17f9bc730f1d99b50ce9165d652162df9a961009a0bba
|
|
| MD5 |
d9b822eaa8e03bb3c4b41515844d7b78
|
|
| BLAKE2b-256 |
d9ca37e29358d00b6a02e3b5494c2b1c2caa001720ecc74cda9e01293922d85d
|