Auto formatting Python code



  1. Install Visual Studio Code.
  2. Once installed, open visual studio code.
  3. press "command + p", a window will open at the top. Type : ext install python
  4. Open terminal and type following commands :
    1. pip install pep8   
      pip install --upgrade autopep8
      
    2. pip install pylint
  5.  Start auto formatting python code

Comments

Popular posts from this blog

Bounding Box in PIL (Python Image Library)

Dictionary vs KeyValuePair vs Struct - C#

Rendering order and Z-sorting