Re: [Tutor] Tkinter problem

2008-06-17 Thread Alan Gauld
"Arden Hall" <[EMAIL PROTECTED]> wrote I'm trying to learn to use Tkinter from "Thinking in Tkinter" I'll make a couple of comments on the code then add a hypothesis about the reason for your "error" button1 = Button(myContainer1) button1["text"} = "Hello, World!" button1[background

Re: [Tutor] Automating GUI Command Regression Testing

2008-06-17 Thread Alan Gauld
"Gordon Agress" <[EMAIL PROTECTED]> wrote help me learn to pipe keyboard input for commands to a Tkinter GUI, and then to automate saving a screen shot of the resulting GUI display? Is this even possible? Its possible but not trivial. It depends a lot on your OS since X Wndows and MS Window

[Tutor] BootCampArama Early Bird Registration Reminder

2008-06-17 Thread Chris Calloway
Just a reminder, we're at the two week warning on early bird registration for PyCamp: http://trizpug.org/boot-camp/2008/ Registration is now open for: PyCamp: Python Boot Camp, August 4 - 8 Plone Boot Camp: Customizing Plone, July 28 - August 1 Advanced Plone Boot Camp: Plone 3 Techniques, A

[Tutor] Automating GUI Command Regression Testing

2008-06-17 Thread Gordon Agress
Could someone please point me to resources that would help me learn to pipe keyboard input for commands to a Tkinter GUI, and then to automate saving a screen shot of the resulting GUI display? Is this even possible? I'm trying to automate regression testing of a simple Tkinter GUI. I'd like to

Re: [Tutor] Visualizing the Python Project

2008-06-17 Thread bhaaluu
On Tue, Jun 17, 2008 at 8:26 AM, W W <[EMAIL PROTECTED]> wrote: > On Tue, Jun 17, 2008 at 6:40 AM, bhaaluu <[EMAIL PROTECTED]> wrote: >> This is very interesting! >> >> http://www.vimeo.com/1093745 >> >> Visualizing the commit history of the Python scripting language project. >> >> http://vis.cs.uc

Re: [Tutor] Visualizing the Python Project

2008-06-17 Thread W W
On Tue, Jun 17, 2008 at 6:40 AM, bhaaluu <[EMAIL PROTECTED]> wrote: > This is very interesting! > > http://www.vimeo.com/1093745 > > Visualizing the commit history of the Python scripting language project. > > http://vis.cs.ucdavis.edu/~ogawa/codeswarm/ That would only be cooler if it was written

Re: [Tutor] a question about iterators

2008-06-17 Thread Kent Johnson
On Tue, Jun 17, 2008 at 1:46 AM, Christopher Spears <[EMAIL PROTECTED]> wrote: > I am confused by this statement: i = iter(a) > > Why do I need to turn 'a' into an iterator? Didn't I already do this when I > constructed the class? Yes, a is already an iterator. > As a test, I tried the fo

[Tutor] Visualizing the Python Project

2008-06-17 Thread bhaaluu
This is very interesting! http://www.vimeo.com/1093745 Visualizing the commit history of the Python scripting language project. http://vis.cs.ucdavis.edu/~ogawa/codeswarm/ Happy Programming! -- b h a a l u u at g m a i l dot c o m Kid on Bus: What are you gonna do today, Napoleon? Napoleon Dyn

Re: [Tutor] Tkinter problem

2008-06-17 Thread Kent Johnson
On Tue, Jun 17, 2008 at 12:57 AM, Arden Hall <[EMAIL PROTECTED]> wrote: > A followup on the message below. The source code has errors in it because I > keyed it in rather than copying and pasting, as pointed out by Alan Gauld. > Joe replied with corrected code and said it worked for him. I took

Re: [Tutor] my own error code when no argument is sent

2008-06-17 Thread Alan Gauld
<[EMAIL PROTECTED]> wrote infile = sys.argv[1] IndexError: list index out of range is there a way that i could suppress this and add my own error code Hi Bryan, You are probably better off pursuing Danny's suggestion. But, this is what you asked for: IDLE 1.1.4 class CustomError(Excepti

Re: [Tutor] my own error code when no argument is sent

2008-06-17 Thread broek
when i execute my program without an argument i receive, infile = sys.argv[1] IndexError: list index out of range is there a way that i could suppress this and add my own error code Hi Bryan, You are probably better off pursuing Danny's suggestion. But, this is what you asked for: