I am seeing your project "HTMLTemplate"

LocaWapp rdjdvd at inwind.it
Sat Dec 24 18:08:48 EST 2005


Hi Hamish Sanderson.
I am seeing your project "HTMLTemplate". I like it.
You see my project:

LocaWapp: localhost web applications V.0.0.2 (2005 Dec 20)

http://LocaWapp.blogspot.com
----------------------------


- Run with:

python run.py

- and browse with:

http://localhost:8080/locawapp/main.py

- You can change the port with:

python run.py 8081

- If this is good for you, then you can help me developing with:

HTML + CSS + JS + PYTHON = LocaWapp
-----------------------------------


- Put your application in root:

[your_application]
[locawapp]
....__init__.py
....common.py
....main.py
....[static]
........logo.gif
........main.css
........main.js
README.TXT
run.py

- Your application must to have "init" and "main" (for convention):

[your_application]
....__init__.py
....main.py
....others web applications (ex. main2.py)
....your files or folders (ex. your [static])

- main.py is a web application, then it has "locawapp_main" function:

def locawapp_main(request):
	[...]
	html = [...String...]
	return lwa.makeResponse(html)

- See locawapp.main.py and locawapp.common.py

- Send me your comment, thanks :-)
- Bye




More information about the Python-list mailing list