Title: Signature.html
(Lateness of post here from the old Reply to All disease! It just worse. I reissued it to Alan again. Yi, yi, ...)
Alan Gauld wrote:

"Wayne Watson" <sierra_mtnv...@sbcglobal.net> wrote
About three weeks ago I decided to give PythonWin a whirl. I believe I've noticed about as many code "wrecks" as with IDLE.

Really? I haven't had many problems.
Perhaps this has something to do with not saving the code each time it is run. It seems as pywin does it automatically each tine I hit the run icon.


That is, while working repeatedly on a program, the editor got confused about what it had available, usually remnants of previous code.

Yes, interactive shell.
The editor or the interactive shell? The editor doesn't really display much knowlege of the code. How are you using Pythonwin to get that error? Are you importing your module into the shell? Or are you using Run with F5?
I use import in the code as this:
import Tkinter as tk
import Image
import ImageTk
import ImageDraw
import sys
Otherwise, my code is not imported. I use the run icon just below the Window menu.

I just tried to print a very small program in PWin and it printed five blank pages with a small title on each.

I've never seen that. Are you sure you didn't have a lot of white space under the code or something?
It looks like 15-20 lines to me. The scroll bar indicates nothing beyond my last line. Maybe there's a bum character in their. I just tried printing one page of another file. It produced a blank page and a small title at the top.

interactive window being part of the larger window with the program windows, I'm not much in favor of it any more.

I'm not familiar with these acronyms. MDI, SDI,
MDI used to be the official Windows style but since XP came out SDI has taken over. Pythonwin is still firmly in the MDI camp.
Its very much a matter of taste, although I'm fairly ambivalent.
The Window menu is your friend :-)

It may be time to move on to another editor or return to IDLE.

There are so many to choose from, One is sure to suit you :-)
Personally I still prefer 3 separate windows for intensive coding.
1) running vim(or increasingly Scite) for editing
2) running a standard python shell (sometimes PyCrust)
3) an OS prompt for testing.

Alt-Tab and up-arrow for navigating between windows/commands
works for me :-)
As soon as I hit, alt-tab, Win moves between all the icons on my screen. There's not chance to press an up arrow.

--
           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
            
         Copper and its alloys have been found effective in hospital
         sinks, hand rails, beds, ... in significantly reducing 
         bacteria. Estimates are 1/20 people admitted to a hospital
         become infected, and 1/20 die from the infection.
                       -- NPR Science Friday, 01/16/2009 

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

Reply via email to