Re: Which Python editor has this feature?

2016-01-26 Thread Fabio Zadrozny
On Sun, Jan 10, 2016 at 11:59 PM, wrote: > It lets you jump between the current cursor position and the line the > upper level indentation start, something like the bracket matching in C > editor. Because of Python use indentation as its code block mark, It might > be

Re: Which Python editor has this feature?

2016-01-26 Thread Fabio Zadrozny
On Mon, Jan 11, 2016 at 6:40 AM, Gordon Levi wrote: > jf...@ms4.hinet.net wrote: > > >It lets you jump between the current cursor position and the line the > upper level indentation start, something like the bracket matching in C > editor. Because of Python use

Re: Which Python editor has this feature?

2016-01-13 Thread Terry Reedy
On 1/12/2016 8:20 PM, jf...@ms4.hinet.net wrote: Terry Reedy at 2016/1/12 UTC+8 3:56:03PM wrote: Revamping IDLE to 1. use ttk widgets and 2. become a modern single window app with multiple panes, including a tabbed editor pane, is a goal for 2016. That will be great, I'm looking forward to

Re: Which Python editor has this feature?

2016-01-13 Thread Chris Angelico
On Wed, Jan 13, 2016 at 8:05 PM, Terry Reedy wrote: > Assuming that sys.__sydout__ is not None is a bug on pip's part. Perhaps you > could report it to it list or tracker, and point Donald and whoever to > https://docs.python.org/3/library/sys.html#sys.__stdin__ > > "Note > >

Re: Which Python editor has this feature?

2016-01-13 Thread Terry Reedy
On 1/12/2016 5:18 AM, Chris Angelico wrote: On Tue, Jan 12, 2016 at 7:27 PM, Terry Reedy wrote: Can psycopg2 be installed with pip? There is an issue (#23551) to make a pip GUI and make it accessible from IDLE. We need someone with both pip and tkinter knowledge to either

Re: Which Python editor has this feature?

2016-01-13 Thread jfong
Terry Reedy at 2016/1/13 UTC+8 5:15:20PM wrote: > This was a Windows specific problem that was fixed (for me) in all three > recent (last November/December) bugfix releases. If you have a problem > with *current* IDLE, I would like to know. I download/install the latest version 3.4.4 and it

Re: Which Python editor has this feature?

2016-01-12 Thread Terry Reedy
On 1/11/2016 8:09 PM, Chris Angelico wrote: On Tue, Jan 12, 2016 at 11:55 AM, Bernardo Sulzbach wrote: On Mon, Jan 11, 2016 at 10:14 PM, Chris Angelico wrote: Next IDLE feature request: Can you make it so that, across all platforms, it magically

Re: Which Python editor has this feature?

2016-01-12 Thread Chris Angelico
On Tue, Jan 12, 2016 at 7:27 PM, Terry Reedy wrote: > On 1/11/2016 8:09 PM, Chris Angelico wrote: >> >> On Tue, Jan 12, 2016 at 11:55 AM, Bernardo Sulzbach >> wrote: >>> >>> On Mon, Jan 11, 2016 at 10:14 PM, Chris Angelico >>>

Re: Which Python editor has this feature?

2016-01-12 Thread Grant Edwards
On 2016-01-12, Bernardo Sulzbach wrote: > On Mon, Jan 11, 2016 at 10:14 PM, Chris Angelico wrote: >> >> Next IDLE feature request: Can you make it so that, across all >> platforms, it magically installs PostgreSQL and psycopg2? That would >> solve so

Re: Which Python editor has this feature?

2016-01-12 Thread jfong
Terry Reedy at 2016/1/12 UTC+8 3:56:03PM wrote: > Revamping IDLE to 1. use ttk widgets and 2. become a modern single > window app with multiple panes, including a tabbed editor pane, is a > goal for 2016. That will be great, I'm looking forward to it. By the way, when I was playing around with

Re: Which Python editor has this feature?

2016-01-12 Thread jfong
wxjm...@gmail.com at 2016/1/月12 4:29:08PM wrote: > IDLE ? > I need less than 10 seconds to make it crash. Unwittingly or intentionally? > The interesting aspect is not only to show that it crashes, > the very interesting point is to explain why it is crashing. Can you tell us (in a separate

Re: Which Python editor has this feature?

2016-01-12 Thread Chris Angelico
On Wed, Jan 13, 2016 at 12:27 PM, wrote: > wxjm...@gmail.com at 2016/1/月12 4:29:08PM wrote: >> IDLE ? >> I need less than 10 seconds to make it crash. > > Unwittingly or intentionally? > >> The interesting aspect is not only to show that it crashes, >> the very interesting

Re: Which Python editor has this feature?

2016-01-12 Thread Steven D'Aprano
On Wed, 13 Jan 2016 12:27 pm, jf...@ms4.hinet.net wrote: > wxjm...@gmail.com at 2016/1/月12 4:29:08PM wrote: >> IDLE ? >> I need less than 10 seconds to make it crash. > > Unwittingly or intentionally? > >> The interesting aspect is not only to show that it crashes, >> the very interesting point

Re: Which Python editor has this feature?

2016-01-11 Thread Bernardo Sulzbach
On Mon, Jan 11, 2016 at 10:14 PM, Chris Angelico wrote: > > Next IDLE feature request: Can you make it so that, across all > platforms, it magically installs PostgreSQL and psycopg2? That would > solve so many of my students' problems... > Wouldn't this make the installer much

Re: Which Python editor has this feature?

2016-01-11 Thread Chris Angelico
On Tue, Jan 12, 2016 at 8:21 AM, Terry Reedy wrote: > > The context is currently read-only. Clicking on context lines does nothing. > As a result of this thread, I am thinking that clicking on a context line > should scroll up the main text window to display that line at the

Re: Which Python editor has this feature?

2016-01-11 Thread Chris Angelico
On Tue, Jan 12, 2016 at 11:55 AM, Bernardo Sulzbach wrote: > On Mon, Jan 11, 2016 at 10:14 PM, Chris Angelico wrote: >> >> Next IDLE feature request: Can you make it so that, across all >> platforms, it magically installs PostgreSQL and psycopg2? That

Re: Which Python editor has this feature?

2016-01-11 Thread jfong
Chris Angelico at 2016/1/11 UTC+8 10:59:47AM wrote: > On Mon, Jan 11, 2016 at 12:59 PM, wrote: > > It lets you jump between the current cursor position and the line the upper > > level indentation start, something like the bracket matching in C editor. > > Because of

Re: Which Python editor has this feature?

2016-01-11 Thread Gordon Levi
jf...@ms4.hinet.net wrote: >It lets you jump between the current cursor position and the line the upper >level indentation start, something like the bracket matching in C editor. >Because of Python use indentation as its code block mark, It might be helpful >if we can jump between different

Re: Which Python editor has this feature?

2016-01-11 Thread jfong
Tim Chase at 2016/1/11 UTC+8 11:16:27AM wrote: > On 2016-01-10 17:59, jf...@ms4.hinet.net wrote: > > It lets you jump between the current cursor position and the line > > the upper level indentation start, something like the bracket > > matching in C editor. Because of Python use indentation as

Re: Which Python editor has this feature?

2016-01-11 Thread Terry Reedy
On 1/11/2016 8:51 PM, jf...@ms4.hinet.net wrote: Terry Reedy at 2016/1/12 UTC+8 5:22:35AM wrote: IDLE has an optional 'code context' feature that shows header lines that have scrolled up off the top of the screen. This would let you see which class you are in, Thanks, Terry. It's just what I

Re: Which Python editor has this feature?

2016-01-11 Thread jfong
Terry Reedy at 2016/1/12 UTC+8 5:22:35AM wrote: > IDLE has an optional 'code context' feature that shows header lines that > have scrolled up off the top of the screen. This would let you see > which class you are in, Thanks, Terry. It's just what I am looking for:-) By the way, do you know

Re: Which Python editor has this feature?

2016-01-11 Thread Terry Reedy
On 1/11/2016 6:04 AM, jf...@ms4.hinet.net wrote: I am studying the PyUSB package now as the learning object of how to write a Python program in a "formal" way. In those modules, there are many comment inserted between codes to explain what it does. It's good to the user comprehension, but also

Re: Which Python editor has this feature?

2016-01-11 Thread Tim Chase
On 2016-01-11 03:08, jf...@ms4.hinet.net wrote: > Tim Chase at 2016/1/11 UTC+8 11:16:27AM wrote: > > :nnoremap Q '?^'.repeat(' ', > > (strlen(substitute(getline('.'), '\S.*', '', > > ''))-)).'\S?e'."\" > > But, but... this line??? won't it goes too far for a human being to > read? Yes, it's a

Re: Which Python editor has this feature?

2016-01-11 Thread Frank Haun
On Sun, 10 Jan 2016 19:49:47 -0800 (PST), Rustom Mody wrote: > On Monday, January 11, 2016 at 7:30:10 AM UTC+5:30, jf...@ms4.hinet.net wrote: >> It lets you jump between the current cursor position and the line the >> upper level indentation start, something like the bracket matching in >> C

Re: Which Python editor has this feature?

2016-01-11 Thread jfong
Gordon Levi at 2016/1/11 UTC+8 4:41:20PM wrote: > Jetbrains Pycharm has "go to start of block" and "go to end of block" > commands . Thanks, Gordon. But this seems only jump between the current code block's start and end, not to the code one level above:-(

Re: Which Python editor has this feature?

2016-01-10 Thread Chris Angelico
On Mon, Jan 11, 2016 at 12:59 PM, wrote: > It lets you jump between the current cursor position and the line the upper > level indentation start, something like the bracket matching in C editor. > Because of Python use indentation as its code block mark, It might be

Re: Which Python editor has this feature?

2016-01-10 Thread Tim Chase
On 2016-01-10 17:59, jf...@ms4.hinet.net wrote: > It lets you jump between the current cursor position and the line > the upper level indentation start, something like the bracket > matching in C editor. Because of Python use indentation as its code > block mark, It might be helpful if we can jump

Which Python editor has this feature?

2016-01-10 Thread jfong
It lets you jump between the current cursor position and the line the upper level indentation start, something like the bracket matching in C editor. Because of Python use indentation as its code block mark, It might be helpful if we can jump between different level of it:-) --Jach Fong --

Re: Which Python editor has this feature?

2016-01-10 Thread Rustom Mody
On Monday, January 11, 2016 at 7:30:10 AM UTC+5:30, jf...@ms4.hinet.net wrote: > It lets you jump between the current cursor position and the line the upper > level indentation start, something like the bracket matching in C editor. > Because of Python use indentation as its code block mark, It