http://cheeseshop.python.org/package...wapp-03.tar.gz
LocaWapp: localhost web applications (v.03 - 2005 Dec 31)
Copyright (c) 2005 RDJ
This code is distributed for your utility but WITHOUT ANY WARRANTY.
http://LocaWapp.blogspot.com
----------------------------
- Run:
python run.py
- and browse:
http://localhost:8080/locawapp/main.py
- You can change the port:
python run.py 8081
- You can develope with this framework:
HTML(CSS,JS) + Python = LocaWapp
--------------------------------
- Put your application folder in root directory:
[your_applicatio n]
[locawapp]
.....__init__.p y
.....common.py
.....main.py
.....[static]
.........logo.g if
.........main.c ss
.........main.j s
README.txt
run.py
- Your application must have "init" and "main" files (for convention):
[your_applicatio n]
.....__init__.p y
.....main.py
.....other web applications (ex. main2.py)
.....your files or folders (ex. your [static])
- main.py is a web application, then it has "locawapp_m ain" function:
def locawapp_main(r equest):
[...]
html = [...String...]
return lwa.makeRespons e(html)
- See locawapp.main.p y and locawapp.common .py
- You can find me in "comp.lang.pyth on" newsgroup
-------------------------------------------------
- New applications:
lwaUtils - LocaWapp Utilities
lwaUtils.files. py - files manager (under costruction)
lwaUtils.editor .py - source editor (under costruction)