If the file has the `.py` extension (`hello.py` in your case) it will be detected as a Python script rather than a Pascal file. It's trying to compile the Pascal code using the Python compiler/interpreter.
You should rename the file to use a Pascal file extension like `.pas` and/or change the filetype using `Document->Set Filetype->Programming Languages->Pascal source file`. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1345#issuecomment-268626888
