python camera.py
in a virtual environment. What I usually do is checking out the git repository on the RPi and test out functions from there. If I needed to change anything, I use vim to edit on cli.
You could also choose to mount RPi as a folder on your local file system using something like sshfs. This way you could edit the file on RPi as if itβs a file local to your system using any editor of your choice.