[Tutor] Whitespace indentation
Danny Yoo
dyoo at hkn.eecs.berkeley.edu
Sat Feb 5 00:19:17 CET 2005
On Fri, 4 Feb 2005, Smith, Jeff wrote:
> On the indentation topic. I would be curious to know if anyone has had
> an experience where a rogue process or editor has trashed the
> indentation in your Python and how you recovered from it.
[Meta: switching subject line again --- this conversation seems to be
veering off to other subtopics.]
Hi Jeff,
I have run into some whitespace issues, but it had more to do with
line-ending terminators for code sent between Windows and Unix machines.
But that's more of a Unix vs. Windows thing than anything else. *grin*
On the whole, though, using indentation as blocks has worked really well
for me, and hasn't been a liability. I do try to keep my code backed by a
version control system like Subversion or CVS:
http://subversion.tigris.org/
https://www.cvshome.org/
which seems to keep me safe from my own incompetence most of the time.
Best of wishes to you!
More information about the Tutor
mailing list