First day beginner to python, add to counter after nested loop
Alister
alister.ware at ntlworld.com
Wed Oct 30 10:07:54 EDT 2013
On Wed, 30 Oct 2013 03:08:11 -0700, jonas.thornvall wrote:
> Den onsdagen den 30:e oktober 2013 kl. 08:07:31 UTC+1 skrev Tim Roberts:
>> jonas.thornvall at gmail.com wrote:
>>
>
> I certainly do not like the old bracket style it was a catastrophe, but
> in honesty the gui editor of python should have what i propose, a parser
> that indent automaticly at loops, functions and end. I promise you it
> will save millions of hours of bug searching all over world in a month.
What editor are you using?
I suggest you replace it with one that knows python.
I use Geany but may others operate the same way.
when i press return after a line that starts a loop it automatically
indents the next line the require amount.
it retains the current indent level on subsequent lines until i press
backspace to return to the previous level
it really does not get any simpler than that.
--
If you don't care where you are, then you ain't lost.
More information about the Python-list
mailing list