Actually, I had gotten comfortable with using IDLE a few weeks ago, and just put a short cut to the program within easy reach. I'd edit then execute with the icon. One day, I happened to hit F5 and it executed the program properly. Somehow I drifted back to the old way, unsuspectingly. Not good. Maybe there's a way to disable F5!!! Maybe it's just too close to F3!

Marc Tompkins wrote:
On Thu, Feb 19, 2009 at 10:59 AM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote:
 
I'm willing to give vim a shot. I believe in an earlier thread unrelated to this, Alan suggested it. I'm perhaps incorrectly assuming vim will take care of the Tkinter problem. If these editors aren't really the source of some the error reporting problem, then I'm going to have to come up with new thinking or some tactic that will get to the real errors. If there is an influence of the editors, then I would think it has something to do with the interface to Python, so it comes down to which editor has the best or most stable interface with Python.  When Alan suggested it, there was something about the apparent awkwardness of executing the code, which made me pass on it. I'm going back to find out what that was.

The problem is not with IDLE as an editor, but with IDLE as a shell.
You can edit your code in any editor, and as long as it doesn't slip funky hidden characters into your file (not an issue with any normal text editor AFAIK, but you definitely don't want to use Word!) it will make NO difference to your code.  The problem with IDLE is that it tries to be an IDE (Integrated Development Environment - in other words, you can edit the code, execute it, debug it, get rudimentary language help all in one program) and it does a p#$$-poor job of it.  Alan's advice is to avoid the IDE approach and get used to editing your program in one window and running it in another - after all, that's how your users will see it.  And it's good advice and a valid approach.  Myself, I like using an IDE - the one thing I used to like about using Visual Studio was the integration.  So I use SPE, which is an IDE and (IMHO) a good one.  It does not matter in the slightest which tool you use, as long as that tool does not get in your way.

(Actually, I may be misrepresenting Alan and Vim a bit - I don't use it myself.  You can run external programs from inside of vim, so Alan's desktop may look more like a traditional IDE than I'm imagining.)
--
www.fsrtechnologies.com

_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

--

Signature.html
           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
            

                "Nature, to be commanded, must be obeyed."
                                   -- Sir Francis Bacon 

                    Web Page: <www.speckledwithstars.net/>
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to