Adding a lot of python code