https://abdullahoscript.blogspot.com/2022/08/how-to-write-maya-scripts.html
How To Write Maya Scripts