How do I replace four spaces by one tab in a big python codebase? -


i have downloaded python code , edit it. problem used use tabs make indents file use 4 spaces instead , if combination of spaces , tabs used, visually looks fine, code generate errors.

my question if there simple way replace spaces tabs?

get editor understands simulated tabs. simulate tabs using 4 spaces. editors can nowadays. feel tabs spaces..


Comments

Popular posts from this blog

C++: Boost interprocess memory mapped file error -

python - IO.UnsupportedOperation: Not Writable -

python - Selecting distinct values from a column in Peewee -