i'm a beginner and new to the linux environment. i'm hoping to build a device which take photos at regular interval and upload these photos to a web sever. when i run "raspistill -o image.jpg" command in the terminal it works perfectly but when i write this extract line in geany and try to execute the file error appears and says invalid syntax.
how to write a executable python code to capture images ? need help please