check_python
Checks a Python file for syntax errors using py_compile. Provide the file path to validate code and catch errors before execution.
Instructions
Check for syntax errors in a Python file using py_compile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envPath | No | Optional: Custom PATH environment variable. If not provided, uses system default PATH. | |
| filePath | Yes | The full path to the Python file. |