Re: Windows, IDLE, __doc_, other

2009-12-20 Thread W. eWatson
Add to this. Isn't there a way to see the arguments and descriptions of functions? -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Python to Execute a C or FORTRAN Program (Windows)

2009-12-17 Thread W. eWatson
sturlamolden wrote: On 17 Des, 03:41, W. eWatson wolftra...@invalid.com wrote: His program was originally written in Python, but a new hardware device (capture card) had no good interface with Python, so he wrote it in C++, which does. From my knowledge of the Python program before the entry

Re: Either IDLE Can't Start a subprocess or a firewall software firewall is blocking the connection (Win)--Battlin McAfee

2009-12-17 Thread W. eWatson
Alf P. Steinbach wrote: * W. eWatson: See Subject msg from Python 2.5 Win XP. It is preceded by a Socket Error. It happened while I had a simple program displayed, and I wanted to see the shell. The msg occurred when I pressed Shell on Run from the menu. I played around for awhile, but got

Either IDLE Can't Start a subprocess or a firewall software firewall is blocking the connection (Win)--Battlin McAfee

2009-12-16 Thread W. eWatson
See Subject msg from Python 2.5 Win XP. It is preceded by a Socket Error. It happened while I had a simple program displayed, and I wanted to see the shell. The msg occurred when I pressed Shell on Run from the menu. I played around for awhile, but got nowhere. Same msg. I did remove my McAfee

Re: Using Python to Execute a C or FORTRAN Program (Windows)

2009-12-16 Thread W. eWatson
Mensanator wrote: On Dec 14, 8:14�pm, W. eWatson wolftra...@invalid.com wrote: I think Python is capable of executing a compiled C or FORTRAN program, Sure, if it was compiled to an .exe file. and maybe even getting some parameters passed back. Sure, if the program prints to stdout

Re: What is the significance of after() in this code?

2009-12-07 Thread W. eWatson
Martin P. Hellwig wrote: W. eWatson wrote: See Subject. def StackImages(self): self.Upload(P) self.after_id = self.master.after(1,self.GetFrameOne) If you are talking tkinter here, it is an alarm callback. See http://effbot.org/tkinterbook/widget.htm Very good. I

Why Doesn't XP Pro Show Size, Time and Date Mod of a Created File?

2009-12-07 Thread W. eWatson
I created a folder, and wrote a file to it. When I look at what files are in it, they are correct. However, The Size, Type, and Date Mod are not shown. Why am I missing those columns? I'm writing files with a suffix of dat, which seem only to match up with video CD movie. --

Re: Why Doesn't XP Pro Show Size, Time and Date Mod of a Created File?

2009-12-07 Thread W. eWatson
Mensanator wrote: On Dec 5, 11:38�pm, W. eWatson wolftra...@invalid.com wrote: I created a folder, and wrote a file to it. When I look at what files are in it, they are correct. However, The Size, Type, and Date Mod are not shown. Why am I missing those columns? I'm writing files with a suffix

What is the significance of after() in this code?

2009-12-06 Thread W. eWatson
See Subject. def StackImages(self): self.Upload(P) self.after_id = self.master.after(1,self.GetFrameOne) -- http://mail.python.org/mailman/listinfo/python-list

Why Can't I Delete a File I Created with Win XP?

2009-12-05 Thread W. eWatson
I'm trying to store analytic data in a folder called Analysis. If the user doesn't have the folder, I make one for him, and then write a txt file into it. In this case a histogram of values, x and frequency. However, it appears that I made a mistake somewhere and cannot delete it using the Win

Re: Why Can't I Delete a File I Created with Win XP?

2009-12-05 Thread W. eWatson
: On Dec 5, 9:57 pm, W. eWatson wolftra...@invalid.com wrote: [snip] s = self.current_path s referred to something ... s = Analysis but now s refers to Analysis ... at best, there is redundant confusing code; at worst, the source of your problem. s = os.path.join

Re: Why Can't I Delete a File I Created with Win XP?

2009-12-05 Thread W. eWatson
J wrote: On Sat, Dec 5, 2009 at 20:32, J dreadpiratej...@gmail.com wrote: connections eventually. So being able to find who has a lock on a given file or directory if the program dies unexpectedly would be useful. Google tells me that the program Process Explorer from SysInternals will

Re: Why Can't I Delete a File I Created with Win XP?

2009-12-05 Thread W. eWatson
The original program and code are not mine. I have no idea if that specific piece of code has ever been tested. Generally the program works quite well, and when needed creates the Events folder without any difficulty. That folder is used heavily by writing new data files to it thousands of

Re: Why Can't I Delete a File I Created with Win XP?

2009-12-05 Thread W. eWatson
J wrote: On Sat, Dec 5, 2009 at 21:14, W. eWatson wolftra...@invalid.com wrote: What I'm trying to do is really simple. In the Win XP NG, I have two suggestions to get rid of the Analysis folder and the empty file in it. One is to use a program like you suggested, and the other is to delete

The Strong Relationship between MatLab and MatPlotLib? What One Needs to Know?

2009-11-30 Thread W. eWatson
Although MatPlotLib has plenty of examples, they do not seem to cover the fundamentals like figure. It seems as though in someway this is dependent upon a user's knowledge of MatLab. Is this true, or oes MatPlotLib provide some description of how forming a figure works? --

Object Not Callable, float?

2009-11-29 Thread W. eWatson
Here's an traceback error msg I get. Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk\Tkinter.py, line 1403, in __call__ return self.func(*args) File

Re: Object Not Callable, float?

2009-11-29 Thread W. eWatson
Ben Finney wrote: W. eWatson wolftra...@invalid.com writes: C:\Sandia_Meteors\Sentinel_Development\Development_Sentuser+Utilities\sentuser\sentuser_20090103+hist.py, line 467, in ShowHistogram mean = sum(hist) TypeError: 'float' object is not callable It means you're calling an object

Re: Object Not Callable, float?

2009-11-29 Thread W. eWatson
John Bokma wrote: W. eWatson wolftra...@invalid.com wrote: Yikes. Thanks very much. Python seems to act unlike other language in which words like float are reserved. I'll use asum. The problem is that there is a function sum and you creating a float sum: sum = 0.0 and mean = sum(hist

A More Concise Description of Numpy than the Guide to Numpy?

2009-11-23 Thread W. eWatson
I'm looking the 300+ page pdf of the Guide to Numpy. Is there a more concise and practical guide to its use in science and mathematics? -- http://mail.python.org/mailman/listinfo/python-list

Re: A More Concise Description of Numpy than the Guide to Numpy?

2009-11-23 Thread W. eWatson
Robert Kern wrote: On 2009-11-23 11:49 AM, W. eWatson wrote: I'm looking the 300+ page pdf of the Guide to Numpy. Is there a more concise and practical guide to its use in science and mathematics? You will want to ask numpy questions on the numpy mailing list: http://www.scipy.org

Re: Anyone with Experience Using WinTV Capture Cards?

2009-09-26 Thread W. eWatson
Tim Roberts wrote: W. eWatson wolftra...@invalid.com wrote: W. eWatson wrote: A friend is looking for some help with how to use Python to access a WinTV (Go Plus) capture card, and how to display an image from it. Is there some facility that might help him, or does anyone have experience

Anyone with Experience Using WinTV Capture Cards?

2009-09-24 Thread W. eWatson
A friend is looking for some help with how to use Python to access a WinTV (Go Plus) capture card, and how to display an image from it. Is there some facility that might help him, or does anyone have experience with such use that might suggest sources? --

Re: Anyone with Experience Using WinTV Capture Cards?

2009-09-24 Thread W. eWatson
W. eWatson wrote: A friend is looking for some help with how to use Python to access a WinTV (Go Plus) capture card, and how to display an image from it. Is there some facility that might help him, or does anyone have experience with such use that might suggest sources? Win XP OS. Any

Adding the Copy Property to a Simple Histogram

2009-07-05 Thread W. eWatson
]) text.insert( END, msg ) -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Web Page: www.speckledwithstars.net/ -- http://mail.python.org

Re: Adding the Copy Property to a Simple Histogram

2009-07-05 Thread W. eWatson
Simon Forman wrote: On Jul 5, 9:48 pm, W. eWatson notval...@sbcglobal.net wrote: The code below produces a text window 60hx20w with a scroll bar. The contents are something of a histogram of values from 0 to 255. If one tries to copy the contents, Windows doesn't allow it. What needs to be done

Conventional Y Axis Label in pylab plot

2009-04-29 Thread W. eWatson
I'd like to label the plot axes as x and y. All I see is xlabel and ylabel. ylabel puts y on its side, rotated 90 degrees from the horizontal. Is there way to put it in a normal reading (science/math) position? -- W. eWatson (121.015 Deg. W, 39.262

Re: after_cancel?

2009-04-18 Thread W. eWatson
Saul Spatz wrote: W. eWatson wrote: I'm looking a program that I'm not real familiar with that uses an after_cancel method and after_id variable. Are they related to some particular widget and what is there function? Perhaps they are related to a Cancel button on a widget? http

Re: after_cancel?

2009-04-18 Thread W. eWatson
Saul Spatz wrote: W. eWatson wrote: I'm looking a program that I'm not real familiar with that uses an after_cancel method and after_id variable. Are they related to some particular widget and what is there function? Perhaps they are related to a Cancel button on a widget? http

after_cancel?

2009-04-17 Thread W. eWatson
I'm looking a program that I'm not real familiar with that uses an after_cancel method and after_id variable. Are they related to some particular widget and what is there function? Perhaps they are related to a Cancel button on a widget? -- W. eWatson

Writing a Raw Image to a File (Win, PIL)

2009-04-11 Thread W. eWatson
that? Pickle? -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing a Raw Image to a File (Win, PIL)

2009-04-11 Thread W. eWatson
Diez B. Roggisch wrote: W. eWatson schrieb: I have an image of described as: Img Info: {} size: (640, 480) format: None mode: P palette: ImagePalette.ImagePalette instance at 0x02393378 bands: ('P',) type: type 'instance' I'd like to write it to a file. Apparently, I need

Re: Writing a Raw Image to a File (Win, PIL)

2009-04-11 Thread W. eWatson
MRAB wrote: W. eWatson wrote: I have an image of described as: Img Info: {} size: (640, 480) format: None mode: P palette: ImagePalette.ImagePalette instance at 0x02393378 bands: ('P',) type: type 'instance' I'd like to write it to a file. Apparently, I need to convert

Problem with PIL/Tkinter Program Example

2009-04-09 Thread W. eWatson
Something is amiss here. The program produces a canvas in which one can move an object around. The input file is hard coded (see open). If you want to try it, you'll need to provide a file. Python error below. Name space difficulty? #Mouse movement from Tkinter import * import PIL import

Re: Problem with PIL/Tkinter Program Example

2009-04-09 Thread W. eWatson
Peter Otten wrote: W. eWatson wrote: Something is amiss here. The program produces a canvas in which one can move an object around. The input file is hard coded (see open). If you want to try it, you'll need to provide a file. Python error below. Name space difficulty? Traceback (most

PIL\Tkinter and Transparencies, Rubber Lines, and Dragging Image Objects

2009-04-07 Thread W. eWatson
is the capability of Tkinter or PIL to allow one to place a transparent layer (mode, I guess in PIL may be roughly equivalent to a layer in tools like Photoshop) on top of an image and then move the transparency around over the image with a mouse? -- W. eWatson

Re: PIL\Tkinter and Transparencies, Rubber Lines, and Dragging Image Objects

2009-04-07 Thread W. eWatson
You got it. That lamda did look a little odd. The white background is opaque and the telescope is seen as green. The program will ask for a file. I didn't write the code. Eric Brunel wrote: W. eWatson wrote: Basically, I'd like to know how one (broadly, e.g., references in Win-land) does IP

PIL Handbooks

2009-04-02 Thread W. eWatson
some features like digital cameras and scanners. Ah here, http://pypi.python.org/pypi/PIL/1.1.6. Any other news? I'd settle even for a 1.1.5 pdf of the handbook right now. -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time

Re: PIL Handbooks

2009-04-02 Thread W. eWatson
Irmen de Jong wrote: W. eWatson wrote: I'm very new to PIL, and don't see any handbooks for 1.1.6 or the forthcoming 1.1.7. In fact, this looks like the extent of them: * Python Imaging Library Handbook for 1.1.5 (online) * Python Imaging Library Handbook for 1.1.3 (PDF) Somewhere

Default Tkinter Structure of a 640x480 PIL BMP File?

2009-04-01 Thread W. eWatson
See Subject. Does it have a header, DIB, palette, and data section? What is the default depth? -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Web

Re: PyFits for Windows?

2009-03-31 Thread W. eWatson
W. eWatson wrote: W. eWatson wrote: It looks like PyFits downloads are for Linux. Isn't there anything available for Win (xp)? I'm now on the scipy mail list. Things look hopeful, according to the first respondent, to meet my criteria mentioned in another sub-thread to this one: I'm hoping

Re: PyFits for Windows?

2009-03-30 Thread W. eWatson
W. eWatson wrote: It looks like PyFits downloads are for Linux. Isn't there anything available for Win (xp)? I'm now on the scipy mail list. Things look hopeful, according to the first respondent, to meet my criteria mentioned in another sub-thread to this one: I'm hoping the use

Re: PyFits for Windows?

2009-03-29 Thread W. eWatson
Michiel Overtoom wrote: W. eWatson wrote: It looks like PyFits downloads are for Linux. Isn't there anything available for Win (xp)? According to http://www.stsci.edu/resources/software_hardware/pyfits: PyFITS’s source code is pure Python. It requires Python version 2.3 or newer. PyFITS

Re: PyFits for Windows?

2009-03-29 Thread W. eWatson
John Yeung wrote: On Mar 28, 4:03 pm, Michiel Overtoom mot...@xs4all.nl wrote: W. eWatson wrote: It looks like PyFits downloads are for Linux. Isn't there anything available for Win (xp)? To install it, unpack the tar file and type: python setup.py install It looks like PyFits is platform

Re: PyFits for Windows?

2009-03-29 Thread W. eWatson
W. eWatson wrote: Michiel Overtoom wrote: W. eWatson wrote: It looks like PyFits downloads are for Linux. Isn't there anything available for Win (xp)? According to http://www.stsci.edu/resources/software_hardware/pyfits: PyFITS’s source code is pure Python. It requires Python version 2.3

Re: PyFits for Windows?

2009-03-29 Thread W. eWatson
andrew cooke wrote: W. eWatson wrote: I downloaded the tar file, and untarred it with IZarc. That's a strange way to package it, that is, for Windows. This almost suggests not many Win users are using it. One of the pages, http://www.scipy.org/wikis/topical_software/Tutorial, has a lot

Grayson, Tkinter, Chapter 5

2009-03-28 Thread W. eWatson
, combo box, etc in the lower right corner. In fact, I suspect that's exactly it. Well, I just leave this open for comments anyway.It is a very instructive example on grids. -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz

PyFits for Windows?

2009-03-28 Thread W. eWatson
It looks like PyFits downloads are for Linux. Isn't there anything available for Win (xp)? -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Web Page

Re: Geometry package

2009-03-28 Thread W. eWatson
it, the article was aimed at finding the minimal distance between two lines in space. Anyway, the Google tip might get you started. -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet

Re: Tkinter book on current versions

2009-03-21 Thread W. eWatson
(r252:60911, Dec 1 2008, 17:47:46) If you mean calc1.py, I had no trouble with calc1.py under 2.5, but calc2.py uses Pmw, which I do not have. calc2 has a few problems with mixing tabs and blanks. -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8

Tkinter--Column Alignment in a Dialog

2009-03-20 Thread W. eWatson
() print setting lat=1.0 long=0.0 root = Tk() root.withdraw() DialogPrototype(root) -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Web Page

Re: A Dangling Tk Entry

2009-03-11 Thread W. eWatson
variables. You'll have to be satisfied with what I've said. I have no more to say. All parts of this thread I consider closed. Include me out. -- Yogi Berra -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39

Re: A Dangling Tk Entry

2009-03-10 Thread W. eWatson
Rhodri James wrote: On Tue, 10 Mar 2009 04:14:51 -, W. eWatson notval...@sbcglobal.net wrote: Marc 'BlackJack' Rintsch wrote: On Mon, 09 Mar 2009 04:22:57 -0700, W. eWatson wrote: Marc 'BlackJack' Rintsch wrote: On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote: You didn't answer

Re: A Dangling Tk Entry

2009-03-10 Thread W. eWatson
== __main__: Process() The next message i send will be a rewrite of this code in a proper Pythonic fashion, this frankly is a plate of spaghetti! -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121

Re: A Dangling Tk Entry

2009-03-10 Thread W. eWatson
r wrote: On Mar 10, 10:52 am, W. eWatson notval...@sbcglobal.net wrote: [snip: biting the hand that feeds] This is not the first time you have come to c.l.py with hat in hand seeking help and then scoffed at suggestions made by well respected posters. I should have known you would just do

Re: A Dangling Tk Entry

2009-03-09 Thread W. eWatson
Marc 'BlackJack' Rintsch wrote: On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote: You didn't answer my question why entry is necessary at all. The original author thought it was necessary to return entry. I'll give you a peek at a segment of the code I'm working with here: class

Re: A Dangling Tk Entry

2009-03-09 Thread W. eWatson
Marc 'BlackJack' Rintsch wrote: On Mon, 09 Mar 2009 04:22:57 -0700, W. eWatson wrote: Marc 'BlackJack' Rintsch wrote: On Sun, 08 Mar 2009 22:20:09 -0700, W. eWatson wrote: You didn't answer my question why entry is necessary at all. The original author thought it was necessary to return

A Dangling Tk Entry

2009-03-08 Thread W. eWatson
has gone wrong? -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Web Page: www.speckledwithstars.net/ -- http://mail.python.org/mailman/listinfo

Re: A Dangling Tk Entry

2009-03-08 Thread W. eWatson
r wrote: On Mar 8, 9:34 pm, W. eWatson notval...@sbcglobal.net wrote: Radiboutton(master, textvariable = ... Radiobutton(msster, textvariable = ... Checkbox(master, text=... entry = Entry(master, width=10, ... entry.insert(0,self.slowdown)# testing a default methodology Label( master, text

Re: A Simple Tkinter Control Program--Slight Problem

2009-03-06 Thread W. eWatson
, type(v), type(v.get()) e = Entry(master,textvariable=v) e.pack() b = Button(master, text=Push to Print, width=10, command=mycallback) b.pack() e.focus_set() v.set(123) mainloop() -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time

Re: Configuration Files and Tkinter--Possible?

2009-03-04 Thread W. eWatson
Gabriel Genellina wrote: En Wed, 04 Mar 2009 03:13:43 -0200, W. eWatson notval...@sbcglobal.net escribió: I'm converting a Tkinter program (Win XP) that uses widgets that allows the user to change default values of various parameters like start and stop time in hh:mm:ss, time of exposure

Re: Configuration Files and Tkinter--Possible?

2009-03-04 Thread W. eWatson
Gabriel Genellina wrote: En Wed, 04 Mar 2009 12:12:50 -0200, W. eWatson notval...@sbcglobal.net escribió: That's fine, but I think my problem boils down to one question. There seem to be two ways to communicate with a dialog (I mean a collection of widgets assembled in a window that requires

A Simple Tkinter Control Program--Slight Problem

2009-03-04 Thread W. eWatson
is that Python objects to v=. v=Tk.StringVar() AttributeError: class Tk has no attribute 'StringVar' What corrects this? -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet

Re: A Simple Tkinter Control Program--Slight Problem

2009-03-04 Thread W. eWatson
Marc 'BlackJack' Rintsch wrote: On Wed, 04 Mar 2009 10:09:10 -0800, W. eWatson wrote: Here's what I think the author meant in discussing a control variable sample program. http://effbot.org/tkinterbook/entry.htm from Tkinter import * v=Tk.StringVar() e = Entry(master, textvariable=v) e.pack

Re: Looking for a General Method to Configure Tkinter Widgets

2009-03-03 Thread W. eWatson
odeits wrote: On Mar 2, 7:14 am, W. eWatson notval...@sbcglobal.net wrote: I'm modifying a Tkinter Python program that uses hard coded initial values for several widgets. For example, latitude = 40. My plan is to put the names and values for configuration purposes into a file. For example

A Simple Menu , Stretching the Window Width--Tkinter

2009-03-03 Thread W. eWatson
there. This is a simple menu. Presently the window shrinks in width the accommodate My Menu, and I see Hello, out th. How do I force the width to accommodate the whole title? -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15

Re: Looking for a General Method to Configure Tkinter Widgets

2009-03-03 Thread W. eWatson
W. eWatson wrote: odeits wrote: On Mar 2, 7:14 am, W. eWatson notval...@sbcglobal.net wrote: I'm modifying a Tkinter Python program that uses hard coded initial values for several widgets. For example, latitude = 40. My plan is to put the names and values for configuration purposes

Re: A Simple Menu , Stretching the Window Width--Tkinter

2009-03-03 Thread W. eWatson
http://www.pctools.com/en/spyware-doctor-antivirus/ Yep, that works. Thanks. -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Web Page

Configuration Files and Tkinter--Possible?

2009-03-03 Thread W. eWatson
? -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Web Page: www.speckledwithstars.net/ -- http://mail.python.org/mailman/listinfo/python-list

Looking for a General Method to Configure Tkinter Widgets

2009-03-02 Thread W. eWatson
],d[2]) stop_time is a string like 10:30:15. -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Web Page: www.speckledwithstars.net/ -- http

Re: Keeping the Console Open with IDLE

2009-02-20 Thread W. eWatson
Matimus wrote: On Feb 19, 8:06 pm, W. eWatson notval...@sbcglobal.net wrote: I'm using IDLE for editing, but execute programs directly. If there are execution or compile errors, the console closes before I can see what it contains. How do I prevent that? -- W

Re: Keeping the Console Open with IDLE

2009-02-20 Thread W. eWatson
with the program or syntax errors shown without it closing in a split second. Putting read_raw in it doesn't work, since some error prevents it from ever being seen. -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39

Re: Keeping the Console Open with IDLE

2009-02-20 Thread W. eWatson
W. eWatson wrote: I'm not sure whether I should feel old or write a smart alec comment -- I suppose there are people in the world who don't know what to do with a command prompt Assuming a Windows system: 2. Type 'cd ' (as in Change Directory) in the command prompt window (w/o

Re: Keeping the Console Open with IDLE

2009-02-20 Thread W. eWatson
Gabriel Genellina wrote: En Fri, 20 Feb 2009 12:05:08 -0200, W. eWatson notval...@sbcglobal.net escribió: Whoa! What's going on here? I just looked at About IDLE, and it shows 1.2.2, but yet the second edition of Learning Python talks about going to 2.3 as the book is about to go to press

Re: Keeping the Console Open with IDLE

2009-02-20 Thread W. eWatson
Catherine Heathcote wrote: W. eWatson wrote: I'm not sure whether I should feel old or write a smart alec comment -- I suppose there are people in the world who don't know what to do with a command prompt Assuming a Windows system: 2. Type 'cd ' (as in Change Directory) in the command

Re: Keeping the Console Open with IDLE

2009-02-20 Thread W. eWatson
Catherine Heathcote wrote: W. eWatson wrote: Catherine Heathcote wrote: W. eWatson wrote: I'm not sure whether I should feel old or write a smart alec comment -- I suppose there are people in the world who don't know what to do with a command prompt Assuming a Windows system: 2

Re: Keeping the Console Open with IDLE

2009-02-20 Thread W. eWatson
Gabriel Genellina wrote: En Fri, 20 Feb 2009 12:29:35 -0200, W. eWatson notval...@sbcglobal.net escribió: Gabriel Genellina wrote: En Fri, 20 Feb 2009 12:05:08 -0200, W. eWatson notval...@sbcglobal.net escribió: Whoa! What's going on here? I just looked at About IDLE, and it shows 1.2.2

Re: Keeping the Console Open with IDLE

2009-02-20 Thread W. eWatson
David Smith wrote: W. eWatson wrote: I'm not sure whether I should feel old or write a smart alec comment -- I suppose there are people in the world who don't know what to do with a command prompt Assuming a Windows system: 2. Type 'cd ' (as in Change Directory) in the command prompt

Re: Keeping the Console Open with IDLE

2009-02-20 Thread W. eWatson
W. eWatson wrote: David Smith wrote: W. eWatson wrote: I'm not sure whether I should feel old or write a smart alec comment -- I suppose there are people in the world who don't know what to do with a command prompt Assuming a Windows system: 2. Type 'cd ' (as in Change Directory

Which Version of wxPython for Win XP

2009-02-19 Thread W. eWatson
I'm going to try out wxPython 2.8.92 for py25. It seems like the ansi version is the choice for me. The other choice has unicode. Do I care? -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2

Re: Which Version of wxPython for Win XP

2009-02-19 Thread W. eWatson
eric_dex...@msn.com wrote: On Feb 19, 8:22 am, W. eWatson notval...@sbcglobal.net wrote: I'm going to try out wxPython 2.8.92 for py25. It seems like the ansi version is the choice for me. The other choice has unicode. Do I care? -- W. eWatson

Re: Which Version of wxPython for Win XP

2009-02-19 Thread W. eWatson
W. eWatson wrote: eric_dex...@msn.com wrote: On Feb 19, 8:22 am, W. eWatson notval...@sbcglobal.net wrote: I'm going to try out wxPython 2.8.92 for py25. It seems like the ansi version is the choice for me. The other choice has unicode. Do I care? -- W. eWatson

Re: Which Version of wxPython for Win XP

2009-02-19 Thread W. eWatson
Mike Driscoll wrote: On Feb 19, 11:29 am, W. eWatson notval...@sbcglobal.net wrote: W. eWatson wrote: eric_dex...@msn.com wrote: On Feb 19, 8:22 am, W. eWatson notval...@sbcglobal.net wrote: I'm going to try out wxPython 2.8.92 for py25. It seems like the ansi version is the choice for me

Keeping the Console Open with IDLE

2009-02-19 Thread W. eWatson
I'm using IDLE for editing, but execute programs directly. If there are execution or compile errors, the console closes before I can see what it contains. How do I prevent that? -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time

Re: Untangling pythonWin and IDLE Processes on XP Pro

2009-02-13 Thread W. eWatson
Terry Reedy wrote: W. eWatson wrote: From Diez above. What does *NOT* work is writing a Tkinter-based app in idle, and to run it *FROM INSIDE* idle. Instead, open your explorer and double-click on the pyhton-file your app is in. That's all that there is to it. So this is the absolute truth

Re: Untangling pythonWin and IDLE Processes on XP Pro

2009-02-13 Thread W. eWatson
Scott David Daniels wrote: W. eWatson wrote: Terry Reedy wrote: W. eWatson wrote: From Diez above. What does *NOT* work is writing a Tkinter-based app in idle, and to run it *FROM INSIDE* idle. Instead, open your explorer and double-click on the pyhton-file your app is in. That's all

Re: Untangling pythonWin and IDLE Processes on XP Pro

2009-02-13 Thread W. eWatson
. -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Web Page: www.speckledwithstars.net/ -- http://mail.python.org/mailman/listinfo/python-list

Untangling pythonWin and IDLE Processes on XP Pro

2009-02-12 Thread W. eWatson
? I noticed that I had about 10-15 copies of pythonw.exe as I tried to reach some understanding of what was going on. Killing these tasks didn't help restore order to IDLE. It seems my only choice now is to reboot? Comments? -- W. eWatson (121.015 Deg

Re: Untangling pythonWin and IDLE Processes on XP Pro

2009-02-12 Thread W. eWatson
Diez B. Roggisch wrote: W. eWatson wrote: It appears if one moves between IDLE and pythonWin (pyWin) that two separate loops (threads?) can occur, and that IDLE can produce incorrect results. Since I have preferred IDLE over pyWin, that leaves me currently in a quandry. How do I renew

Re: Untangling pythonWin and IDLE Processes on XP Pro

2009-02-12 Thread W. eWatson
I simply ask, How do I get around the problem? -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet Web Page: www.speckledwithstars.net/ -- http

Re: Untangling pythonWin and IDLE Processes on XP Pro

2009-02-12 Thread W. eWatson
is that it will work, and if not, and you are sufficiently skilled with Tkinter and debugging, you may find the problem in the code. The steps to create the problem are very easy. -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time

Re: Untangling pythonWin and IDLE Processes on XP Pro

2009-02-12 Thread W. eWatson
W. eWatson wrote: As with Diez, I simply ask, How do I get around the problem? Are you two telling me that it is impossible? OK, here's my offer to both of you. Do you have IDLE for Python 2.5 and have good familiarity with Tkinter? If so, I'll send you the code and you can try it yourself

Re: Untangling pythonWin and IDLE Processes on XP Pro

2009-02-12 Thread W. eWatson
:\Python25\Lib\lib-tk\Tkinter.py, line 415, in wait_visibility self.tk.call('tkwait', 'visibility', window._w) TclError: window .35167928 was deleted before its visibility changed -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time

Re: Untangling pythonWin and IDLE Processes on XP Pro

2009-02-12 Thread W. eWatson
a Tkinter program with IDLE, and execute it successfully. So IDLE doesn't issue a standard warning that says, Get out of here with your Tkinter program, it will fail when you try to run it here. You have entered Tkinter hell. Good-bye. -- W. eWatson

Who's on First, IDLE or pythonWin? Dialog Problem?

2009-02-11 Thread W. eWatson
. Not the 34672232 window is a dialog that I closed by pressing OK. I would again guess, that, if there is a problem, it occurs in the code that destroys the dialog. -- W. eWatson (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz

Re: Who's on First, IDLE or pythonWin? Dialog Problem?

2009-02-11 Thread W. eWatson
Mike Driscoll wrote: On Feb 11, 10:28 am, W. eWatson notval...@sbcglobal.net wrote: My program in IDLE bombed with: == Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk\Tkinter.py, line 1403, in __call__ return self.func(*args

Re: Who's on First, IDLE or pythonWin? Dialog Problem?

2009-02-11 Thread W. eWatson
Steve Holden wrote: W. eWatson wrote: My program in IDLE bombed with: == Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk\Tkinter.py, line 1403, in __call__ return self.func(*args) File C:\Sandia_Meteors\New_Sentinel_Development

Re: Who's on First, IDLE or pythonWin? Dialog Problem?

2009-02-11 Thread W. eWatson
Steve Holden wrote: W. eWatson wrote: Steve Holden wrote: W. eWatson wrote: My program in IDLE bombed with: == Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk\Tkinter.py, line 1403, in __call__ return self.func(*args) File C

Re: Who's on First, IDLE or pythonWin? Dialog Problem?

2009-02-11 Thread W. eWatson
Mike Driscoll wrote: On Feb 11, 3:27 pm, W. eWatson notval...@sbcglobal.net wrote: Steve Holden wrote: W. eWatson wrote: Steve Holden wrote: W. eWatson wrote: My program in IDLE bombed with: == Exception in Tkinter callback Traceback (most recent call last): File C:\Python25

Re: Who's on First, IDLE or pythonWin? Dialog Problem?

2009-02-11 Thread W. eWatson
drobi...@gmail.com wrote: On Feb 11, 2:51 pm, Steve Holden st...@holdenweb.com wrote: W. eWatson wrote: Steve Holden wrote: W. eWatson wrote: My program in IDLE bombed with: == Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk

Re: Who's on First, IDLE or pythonWin? Dialog Problem?

2009-02-11 Thread W. eWatson
drobi...@gmail.com wrote: On Feb 11, 2:51 pm, Steve Holden st...@holdenweb.com wrote: W. eWatson wrote: Steve Holden wrote: W. eWatson wrote: My program in IDLE bombed with: == Exception in Tkinter callback Traceback (most recent call last): File C:\Python25\lib\lib-tk

<    1   2   3   4   5   >