The following forum message was posted by crocodilek at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3778158:
Hi :-) First thing - not an answer to your question. Have you heard of and read PEP 8? If not, please read it (http://www.python.org/dev/peps/pep-0008/) and follow it. It\'s not obligatory but trust me, it\'s a really good idea to follow the styling/formatting/indenting described there. Python is very flexible and allows you to use whatever you want (tabs/spaces) and how many you want (2/3/4 spaces) but if you don\'t fallow the standard (PEP 8) anyone who has to work with your code will not be happy about it. You\'ll hate it in the future too ;-) There\'s also a great tool available, that can check your code for accordance with PEP 8: http://pypi.python.org/pypi/pep8 As for cleaning tabs and spaces mess, there\'s a really great script included in Python\'s source code called \"reindent.py\". After extracting the source you can find it in Tools/scripts directory. Best regards, Crocodilek ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users