Re: [Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-16 Thread xbmuncher
I talked about earlier how the main problem for me wanting to use curly braces is because of the visual ease of seeing the end of the code blocks.. well you can change the indention guidelines on most code editors to a bright color and this might be the next best thing. Also a good feature to

Re: [Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-13 Thread vishwajeet singh
try typing this on your python shell : *from __future__ import braces* check the output:* SyntaxError: not a chance (pyshell#0, line 1)* On Wed, Aug 13, 2008 at 10:15 AM, xbmuncher [EMAIL PROTECTED] wrote: Yes I think python is great in its simplicity in typing code but not in its absence of

Re: [Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-13 Thread Chris Fuller
Some clarifications w.r.t. indentation and Python: http://www.secnetix.de/olli/Python/block_indentation.hawk It's just a joke, really: http://timhatch.com/projects/pybraces/ Turnabout is fair play! http://blog.micropledge.com/2007/09/nobraces/ Also, pindent.py in the Tools/scripts directory of

Re: [Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-13 Thread xbmuncher
I'll check out your links. But in response to some of the things said: I'm a fan of indentation, a replacement of indentation with curly braces is not what I was aiming for. If I could have it my way, I'd have indentation and curly braces. I don't want to change official python syntax either.. I

Re: [Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-13 Thread Chad Crabtree
Oh, I forgot there's another way to add braces if it_is_way_cool: #{ print 'coolness' #} On Wed, Aug 13, 2008 at 11:06 PM, xbmuncher [EMAIL PROTECTED] wrote: I'll check out your links. But in response to some of the things said: I'm a fan of indentation, a replacement of indentation with

Re: [Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-13 Thread xbmuncher
I don't see what the big deal is on coming up with the .{ #{, and other bracket types to try to not interfere with normal bracket use in python. Its relatively easy to create a parser to identify the brackets in use normally and the code block brackets, with regex or without. On Wed, Aug 13, 2008

Re: [Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-13 Thread Timothy Grant
On Wed, Aug 13, 2008 at 9:08 PM, xbmuncher [EMAIL PROTECTED] wrote: I don't see what the big deal is on coming up with the .{ #{, and other bracket types to try to not interfere with normal bracket use in python. Its relatively easy to create a parser to identify the brackets in use normally

[Tutor] Is there python editor or plugin for a python editor for curly brackets around code blocks?

2008-08-12 Thread xbmuncher
Yes I think python is great in its simplicity in typing code but not in its absence of curly brackets to surround code blocks. Personally, it helps me visually see the code blocks as well as saves me constant pain when the compiler complains about broken/missing indents in the code.* I think it