Skip to content

psp : python jsp, python server page jsp functionality in python that works in a similar way to jsp

Notifications You must be signed in to change notification settings

jangsooyoung/psp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psp : python jsp, python server page

jsp functionality in python that works in a similar way to jsp
WEB/WAS Service 

Sample PSP Code
	Html code 
	<%! declare %> : import, def function...
	<% python code %>
	<%= python variable %>
	<%{%> : block begin (default tab size 4)
	<%}%> : block end 
	Html code 

service function
	http_handler.getSession(): session 
	http_handler : SimpleHTTPRequestHandler class

service files
	psp(jsp), py, html,  js, image, ...

If only path is given 
  - directory service file find process
	index.psp > index.py > index.html

program source

was.py : 
	WEB Server 
pspconfig.py : 
	port, directory ... setup file
gen.py : 
	generator ps file to py 

WEB/index.psp : 
	sample psp  code
WEB/index.PY : 
	sample psp generate code

home page

psp demo : 
	Connect with "Deep Learning module" later.

index.jsp

install and test

install : 
	git clone https://github.com/jangsooyoung/psp.git
setup   : 
	cd psp
	editing pspconfig.py 
running : 
	python3 was.py 

About

psp : python jsp, python server page jsp functionality in python that works in a similar way to jsp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published