'Python Local development how to check syntax error

I am new to Python. I am working in a large project with multiple languages and one component is in python. That means I cannot run this python component in my Pycharm.

So I modified some python code. How do I know if I have any syntax errors? In C++ I always compile it then I can see what errors I have so I can fix them.

Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source