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++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -