项目作者: vipinc007

项目描述 :
Python script to compile your python code
高级语言: Python
项目地址: git://github.com/vipinc007/PythonCodeCompiler.git
创建时间: 2018-05-28T07:44:04Z
项目社区:https://github.com/vipinc007/PythonCodeCompiler

开源协议:

下载


Python Code Compiler

Hello, this is a python script to compile your python project and get the compilation error.
This was usefull for me to catch my compilation errors before I could find them suring execution.

Features :

  • Simple Code compiler
  • Uses PyLint package
  • Displays the file name and the error associated

How to Run :

  • The compile function takes a parameter. It could be path of an individual file or it can be a path of a root folder which has all the source code of your python project.
    1. result = python_code_compiler.complile("../source_path")
    2. if result is False:
    3. raise Exception('Code has errors')

Credits

Hope you all like it :)