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? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -