1. compile py to pyc file
cd c:\python27
python.exe
import py_compile
py_compile.compile(r'H:\game\test.py')
import compileall
compileall.compile_dir(r'H:/game')
2. play run app will open JPDA 8000 port
3. java_cmd.insert(2, '-Dprecompile=yes') precompile.py
4. play run helloword base.py
5. play precompile helloword precompile.py
6. play start hellowrld damon.py