Le Fri, 16 Jan 2009 09:11:06 +0530, Senthil Kumaran <orsent...@gmail.com> a écrit :
> > > they used a different spacing than you, is there a simple/good/smart > > way to get it all back to the 4 spacing default? Or if for example I > > Rule #0 is Never mix tabs and spaces. > Rule #1 is use a standard spacing through out the code. > > And when copying from a certain space-setting indentation to another, > the modular script will still work fine. You can use some global > find/replace mechanism to do suit your setting. > For eg. I remember doing :%s/\ \ /\ \ \ \ /g > The simplest method I guess is to first copy the code into a new file/doc/editor tab. Change there to your personal indent width using whatever tool your editor provides, or by global search/replace. Then only paste into your code. denis ------ la vida e estranya _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor