With the much improved Python integration in Lianja 5 this is a nice tutorial to study.

https://www.tutorialspoint.com/artif...thon/index.htm