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 normall

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Dick Moores
At 08:58 PM 8/13/2008, bob gailer wrote: One thing I really like about Python Win is the integrated debugger, which takes no time to start up. SPE OTOH uses WinPDB which runs as a separate process that takes (in the demo video) 15 seconds to start (each time it is requested)! Since I depend hea

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] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread bob gailer
Marc Tompkins wrote: Good Things about SPE: - Tabbed editing - "Output" pane, plus separate terminal pane for quickies - Click on any line in an error traceback to jump to the offending line. Any file that isn't already, opens automatically when you click it. - Left pane toggles between:

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'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 ju

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread bob gailer
Marc Tompkins wrote: On Wed, Aug 13, 2008 at 1:10 AM, vishwajeet singh <[EMAIL PROTECTED]> wrote: I use pydev eclipse plugin for python and it saves me alot time. Packages and modules can be maintained pretty well and if error is in some dependent file I dont have to go to that fol

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Tim Johnson
On Tuesday 12 August 2008, Jaggo wrote: > Hello. > > I haven't much experience with programming. > > I'd like to point this question to programmers who write in editors other > than the default PyWin32: > > Why do you use your editor rather than using Pywin? What feature has editor > X got that PyW

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Alan Gauld
"Dick Moores" <[EMAIL PROTECTED]> wrote (both were included). Can you help me out? gvim is GUI-vim, I think. Isn't that what I want to learn? Is gvim a cut-down version of vim, but enables you to use your mouse ( :set mouse=a)? No gvim is a superset of vim. It has more colours, mouse commands

Re: [Tutor] requests/responses from urllib2

2008-08-13 Thread Eric Abrahamsen
Thanks to you both. I'll read up on sockets, but it seems unlikely that it works the way I thought it might... On Aug 12, 2008, at 8:45 PM, Kent Johnson wrote: On Tue, Aug 12, 2008 at 7:27 AM, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: On Aug 11, 2008, at 6:54 PM, Kent Johnson wrote: I'm no

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread W W
On Wed, Aug 13, 2008 at 10:09 AM, Dick Moores <[EMAIL PROTECTED]> wrote: > At 07:58 AM 8/13/2008, W W wrote: > >> As far as any keyboard commands that I use, I've not seen any difference >> between vim, vi, and gvim. The main difference is syntax highlighting. >> > > Uh, oh. What's the difference

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread ALAN GAULD
> If I want to delete 10 lines of code, 10dd does it. > If I want to change a word, cw. If I want to change > several words, the number of words followed by cw. Yes thats what I mean about consistency. 10dd - delete 10 lines 10cc - change10 lines 10yy - yank(copy) 10 lines etc... I rarely us

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread ALAN GAULD
> Everybody who uses vim raves about its greatness, but it > took me less time to write my first useful Python program > than it did to figure out how to open, change, and save a > file in vim. OK, I exaggerate a BIT...) But not much. - The point about vi/vim is that it is written for power

[Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread kinuthiA muchanE
On Wed, 2008-08-13 at 16:59 +0200, [EMAIL PROTECTED] wrote: > > Message: 5 > Date: Wed, 13 Aug 2008 09:58:52 -0500 > From: "W W" <[EMAIL PROTECTED]> > Subject: Re: [Tutor] What has Editor X got that PyWin32 hasn't? > To: "Dick Moores" <[EMAIL PROTECTED]> > Cc: Python Tutor List > Message-ID: >

[Tutor] Python 2 green arrows up for August!

2008-08-13 Thread Dick Moores
Dick Moores ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Dick Moores
At 07:58 AM 8/13/2008, W W wrote: As far as any keyboard commands that I use, I've not seen any difference between vim, vi, and gvim. The main difference is syntax highlighting. Uh, oh. What's the difference between syntax highlighting in vim and in gvim? Thanks, Dick

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread W W
On Wed, Aug 13, 2008 at 9:42 AM, Dick Moores <[EMAIL PROTECTED]> wrote: > > Since downloading vim 7.2 yesterday, I've had some trouble distinguishing > vim and gvim (both were included). Can you help me out? gvim is GUI-vim, I > think. Isn't that what I want to learn? Is gvim a cut-down version of

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Dick Moores
At 07:04 AM 8/13/2008, W W wrote: On Wed, Aug 13, 2008 at 7:31 AM, Dick Moores <[EMAIL PROTECTED]> wrote: And read this: http://www.moolenaar.net/habits.html Hey, that looks very useful! Thanks. How about the O'Reilly book? < http://www.bestbookdeal.com/book/detail/059652983X/>  I've ne

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Dick Moores
At 07:04 AM 8/13/2008, W W wrote: On Wed, Aug 13, 2008 at 7:31 AM, Dick Moores <[EMAIL PROTECTED]> wrote: And read this: http://www.moolenaar.net/habits.html Hey, that looks very useful! Thanks. How about the O'Reilly book? < http://www.bestbookdeal.com/book/detail/059652983X/>  I've ne

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread W W
On Wed, Aug 13, 2008 at 7:31 AM, Dick Moores <[EMAIL PROTECTED]> wrote: > > > And read this: http://www.moolenaar.net/habits.html > > > Hey, that looks very useful! Thanks. > > How about the O'Reilly book? > > > I've never read it, but loo

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread OmerT
To sum things up, Thank you, Hansen, Mike Steve Willoughby Chad Crabtree johnf Alan Gauld Dick Moores vishwajeet singh Marc Tompkins I reckon I'll give SPE a chance at the moment, and add vim to my ever growing list of things to try out once and when I get bored.

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Marc Tompkins
On Wed, Aug 13, 2008 at 4:15 AM, Dick Moores <[EMAIL PROTECTED]> wrote: > I've marked your list with *** for yes; ### for no; ??? for not sure or not > sure what you mean. > At 03:06 AM 8/13/2008, Marc Tompkins wrote: > >- Todo list ??? But TODO's in code are flagged > > I'd never used it be

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Dick Moores
At 04:22 AM 8/13/2008, W W wrote: On Tue, Aug 12, 2008 at 11:17 PM, Dick Moores <[EMAIL PROTECTED]> wrote: At 05:11 PM 8/12/2008, Alan Gauld wrote: I use Pythonwin for most of my short programming tasks (with occasional forays into other tools like PyCrust and SPE) but for serious programming

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread W W
On Tue, Aug 12, 2008 at 11:17 PM, Dick Moores <[EMAIL PROTECTED]> wrote: > At 05:11 PM 8/12/2008, Alan Gauld wrote: > > I use Pythonwin for most of my short programming tasks > (with occasional forays into other tools like PyCrust and SPE) but for > serious programming I use vim. Why? > > > Alan,

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Dick Moores
At 03:06 AM 8/13/2008, Marc Tompkins wrote: I tried pydev for about a week - I'd started using SPE (Stani's Python Editor, http://pythonide.stani.be/) after about five days of Python, and was feeling a bit guilty that I was still using "training wheels"...  Damn, that week sucked.  More than ever

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Marc Tompkins
On Wed, Aug 13, 2008 at 1:10 AM, vishwajeet singh <[EMAIL PROTECTED]>wrote: > I use pydev eclipse plugin for python and it saves me alot time. > Packages and modules can be maintained pretty well and if error is in some > dependent file I dont have to go to that folder to open it eclipse does it >

Re: [Tutor] Tutor Digest, Vol 54, Issue 43

2008-08-13 Thread Lie Ryan
> Message: 3 > Date: Tue, 12 Aug 2008 07:40:40 -0500 (CDT) > From: "Paul Tader" <[EMAIL PROTECTED]> > Subject: [Tutor] Easiest way to display HTML > To: tutor@python.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain;charset=iso-8859-1 > > I have a collection of python scri

Re: [Tutor] Unable to catch exception

2008-08-13 Thread Lie Ryan
> Message: 7 > Date: Sun, 10 Aug 2008 18:16:38 -0400 > From: James <[EMAIL PROTECTED]> > Subject: Re: [Tutor] Unable to catch exception > To: "Kent Johnson" <[EMAIL PROTECTED]> > Cc: tutor@python.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Ke

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] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread vishwajeet singh
I use pydev eclipse plugin for python and it saves me alot time. Packages and modules can be maintained pretty well and if error is in some dependent file I dont have to go to that folder to open it eclipse does it for me. Integration with subversion and JIRA also help me to work in a better way.

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

2008-08-13 Thread Alan Gauld
"xbmuncher" <[EMAIL PROTECTED]> wrote visually see the code blocks as well as saves me constant pain when the compiler complains about broken/missing indents in the code.* Have you tried tabnanny that will fix up mixtures of tabs and spaces - which is the most common cause of indentationn err

Re: [Tutor] What has Editor X got that PyWin32 hasn't?

2008-08-13 Thread Alan Gauld
"Dick Moores" <[EMAIL PROTECTED]> wrote You've got me wanting to take a look at vim for Windows. I just downloaded the "Self-installing executable gvim##.exe" which is listed on < http://www.vim.org/download.php#pc>. Is this the sort of vim you're talking about? Yes that's the one. I'm