add new api demo for python
add python api demo
delete old file