python - Can I configure IDLE to automatically convert tabs to spaces? -


i know spaces preferred on tabs in python, there way convert tabs spaces in idle or automatically that?

from idle documentation:

tab inserts 1-4 spaces (in python shell window 1 tab).

you can use edit > untabify region convert tabs spaces (for instance if copy/pasted code edit window uses tabs).


of course, best solution go download real ide. there plenty of free editors better @ being ide idle is. mean they're (imo) more user-friendly, more customizable, , better @ supporting things you'd want in full-featured ide.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -