How can I check the syntax of Python script without executing it? December 1, 2021 by admin You can check the syntax by compiling it: