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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -