Codementor Events

Python Code Compiler

Published May 28, 2018

Hello,
I was recently working on and learning Python for my new project. It's a interesting technology to work with. My prior experience was on .net technology and I love it still too. One thing was hard for me when I shifted to python and that was I could not find a way to compile my python code before I run like I used to do in Visual studio. I then googled and realised that Python is an interpreted language which means it can only show code compile errors when it interprets that peiece of line or class or package ect. I was not happy with that because in few cases I had checked-in my code which really broke the build. So I wanted to find a solution to really catch any compile error without needing to run the application.So I googled again and found few piece of code which I then customised as per my need and voila it really helped me to catch the compile error in Python.
I have my example placed at
https://github.com/vipinc007/PythonCodeCompiler

Please have a look and I am sure many would also like to have this too.

happy coding 😃

Discover and read more posts from Vipin Cheriyanveetil
get started