Python help

I tried PR but have a few issues and posted here.