Did you solve this issue?
I'm also working with python and I would like to access a lightning wallet and pay and create invoice in python code. Is there a way to do this?