I know my question is more into python, but I am asking it here because it is also related to erpnext.
Currently I am running ubuntu 18 and python 3.6, as I see that all the erpnext code is built based on each tab is 8 spaces.
The problem is:
Using vim, if I pressed tab, it is only move 4 spaces, but as I see that the code of erpnext is build based on each tab is 8 spaces and not 4 spaces. In python 2, I was able to press 2 tabs and it is accepting it, now in python 3, if I press two tabs to be able to make the code align with the remaining code, it is not working and it is considering my tabs as spaces !
How I can resolve this using vim editor with python 3? Is it settings related to vim?
By the way, using notepad plus, I am able to work fine and by pressing 2 tabs in notepad plus, I see it in the unix vim as one tab of 8 spaces.