Re: Please verify!!

2012-02-24 Thread Dave Angel
On 02/24/2012 08:25 PM, Chris Angelico wrote: On Sat, Feb 25, 2012 at 11:49 AM, Mark Lawrence wrote: Oo, thou sinner, fancy violating PEP 8 and standardising on tabs. PEP 8 applies only to Python code, our standard is across all our languages :) But yes, I'm a horrible sinner and I like tabs.

Re: Please verify!!

2012-02-24 Thread Chris Angelico
On Sat, Feb 25, 2012 at 11:49 AM, Mark Lawrence wrote: > Oo, thou sinner, fancy violating PEP 8 and standardising on tabs. PEP 8 applies only to Python code, our standard is across all our languages :) But yes, I'm a horrible sinner and I like tabs. They separate the display (do you want tabs to

Re: Please verify!!

2012-02-24 Thread Mark Lawrence
On 24/02/2012 20:41, Chris Angelico wrote: On Fri, Feb 24, 2012 at 11:20 PM, Steven D'Aprano wrote: Personally, I prefer tabs for theoretical reasons and spaces for practical ones. I think that the world would be better off if we all standardised on tabs instead of spaces, but since that's not

Re: Please verify!!

2012-02-24 Thread Chris Angelico
On Fri, Feb 24, 2012 at 11:20 PM, Steven D'Aprano wrote: > Personally, I prefer tabs for theoretical reasons and spaces for > practical ones. I think that the world would be better off if we all > standardised on tabs instead of spaces, but since that's not going to > happen, I can interoperate be

Re: Please verify!!

2012-02-24 Thread Andrew Berg
On 2/24/2012 6:20 AM, Steven D'Aprano wrote: > Opinions need to be informed to be better than useless. By definition > newbies don't have the experience to have informed opinions. I thought I had implied that I meant informed opinions, but apparently not. > There are many times that we can't affo

Re: Please verify!!

2012-02-24 Thread Steven D'Aprano
On Fri, 24 Feb 2012 03:18:18 -0600, Andrew Berg wrote: > On 2/24/2012 2:32 AM, Ben Finney wrote: >> Are you referring to novice programmers – who, by any reasonable >> definition of “novice”, don't have an opinion on the tabs-versus-spaces >> indentation debate? >> >> Or are you talking about peo

Re: Please verify!!

2012-02-24 Thread Andrew Berg
On 2/24/2012 5:21 AM, Duncan Booth wrote: > The original question was about Notepad++ which is nothing at all like > Notepad. And I did give the OP an answer about Notepad++ specifically in another message. -- CPython 3.2.2 | Windows NT 6.1.7601.17640 -- http://mail.python.org/mailman/listinfo/

Re: Please verify!!

2012-02-24 Thread Duncan Booth
Andrew Berg wrote: > Yes. However, there are many editors for various platforms that handle > the different line endings just fine. In fact, Notepad is the only > editor I can think of off the top of my head that has an issue. The original question was about Notepad++ which is nothing at all lik

Re: Please verify!!

2012-02-24 Thread Jugurtha Hadjar
On 23/02/2012 23:13, Manish Sharma wrote: Hi I am new to python language. On my first day, somebody told me that if any python script file is opened with any editor except python editor, the file is corrupted. Some spacing or indentation is changed and script stops working. I was opening the scri

Re: Please verify!!

2012-02-24 Thread Andrew Berg
On 2/24/2012 2:32 AM, Ben Finney wrote: > Are you referring to novice programmers – who, by any reasonable > definition of “novice”, don't have an opinion on the tabs-versus-spaces > indentation debate? > > Or are you talking about people who are experienced enough to have an > opinion and expect

Re: Please verify!!

2012-02-24 Thread Ben Finney
Andrew Berg writes: > On 2/23/2012 4:43 PM, Dave Angel wrote: > > First thing I'd do is to disable tab logic in the editor. When you > > press the tab key, there's no excuse for an editor to actually put a tab > > in the file. It should adjust the column by adding the appropriate > > number

Re: Please verify!!

2012-02-23 Thread Andrew Berg
On 2/24/2012 1:11 AM, Manish Sharma wrote: > Still my question is what if I open the file and dont make any changes > to it and close it again? Can it be possible just by doing these steps > add indentation to lines? I am not changing the file prefrences to open > it always with notepad++. Opening

Re: Please verify!!

2012-02-23 Thread Manish Sharma
Hi All, Thanks a ton for your replies! Still my question is what if I open the file and dont make any changes to it and close it again? Can it be possible just by doing these steps add indentation to lines? I am not changing the file prefrences to open it always with notepad++. Opening it once on

Re: Please verify!!

2012-02-23 Thread Andrew Berg
On 2/23/2012 4:43 PM, Dave Angel wrote: > First thing I'd do is to disable tab logic in the editor. When you > press the tab key, there's no excuse for an editor to actually put a tab > in the file. It should adjust the column by adding the appropriate > number of spaces. Unless, of course, yo

Re: Please verify!!

2012-02-23 Thread Joshua Miller
Wasn't supposed to be private, just something went funky with gmail when i sent it out, oddly enough On Thu, Feb 23, 2012 at 8:32 PM, Dave Angel wrote: > On 02/23/2012 07:15 PM, Joshua Miller wrote: >> >> When he/she said "python editor" i'm sure they meant IDLE which in >> some cases is the wors

Re: Please verify!!

2012-02-23 Thread Dave Angel
On 02/23/2012 05:13 PM, Manish Sharma wrote: Hi I am new to python language. On my first day, somebody told me that if any python script file is opened with any editor except python editor, the file is corrupted. Some spacing or indentation is changed and script stops working. I was opening the s

Re: Please verify!!

2012-02-23 Thread Chris Kaynor
On Thu, Feb 23, 2012 at 2:22 PM, Amirouche Boubekki < amirouche.boube...@gmail.com> wrote: > > > 2012/2/23 Manish Sharma > >> Hi I am new to python language. On my first day, somebody told me that >> if any python script file is opened with any editor except python >> editor, the file is corrupte

Re: Please verify!!

2012-02-23 Thread Ben
They are telling you not to switch between editors that use tabs as tabs and ones that use spaces as tabs. Python gets all wonky. No big, use one editor or have your preferred editor highlight your non-preferred whitespace. FWIW, I use spaces. -- http://mail.python.org/mailman/listinfo/python-

Re: Please verify!!

2012-02-23 Thread Amirouche Boubekki
2012/2/23 Manish Sharma > Hi I am new to python language. On my first day, somebody told me that > if any python script file is opened with any editor except python > editor, the file is corrupted. Some spacing or indentation is changed > and script stops working. I was opening the script file in