geany build commands?

i use geany as editor but when i tried to set the compile and execute commands, windows refuses to accept them as internal or external commands.

Compile command:
C:\Panda3D-1.7.2\python -m py_compile “%f”

Execute Command:
C:\Panda3D-1.7.2\python “%f”

Error message:
‘C:\Panda3D-1.7.2\python’ is not recognized as an internal or external command, operable program or batch file.

This is probably just me being a complete tool, but these commands have worked for me in the past for most of the other api’s ive used.

Please help :confused:

Welcome to the forums!

You’re specifying the directory containing Python rather than the Python executable itself. Try C:\Panda3D-1.7.2\python\python.exe instead.