Re: [Tutor] window graphics

2009-07-03 Thread David H. Burns
Thanks, I had forgotten the case sensitivity. David ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] window graphics

2009-07-03 Thread David H. Burns
Thanks. I had forgotten the case sensitivity. David ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] window graphics

2009-07-03 Thread Lie Ryan
David H. Burns wrote: > Thanks, Alan, > > With the Python3.0, I have installed, he entry "from tkinter import *" > doesn't produce any error message, but "tk = TK()" results in > "NameError: 'TK' is not defined". Also for the word "canvas" Python is CaSe-SEnsITiVe. TK() is different from Tk() and

Re: [Tutor] window graphics

2009-07-03 Thread Mark Tolonen
"David H. Burns" wrote in message news:4a4d65e5.3040...@cherokeetel.net... Thanks, Alan, With the Python3.0, I have installed, he entry "from tkinter import *" doesn't produce any error message, but "tk = TK()" results in "NameError: 'TK' is not defined". Also for the word "canvas" As yo

Re: [Tutor] window graphics

2009-07-03 Thread David H. Burns
Thanks, Alan, With the Python3.0, I have installed, he entry "from tkinter import *" doesn't produce any error message, but "tk = TK()" results in "NameError: 'TK' is not defined". Also for the word "canvas" As you suggest, I probably need to start with a 2.x version. ___

Re: [Tutor] window graphics

2009-07-02 Thread Kent Johnson
Forwarding to the list with my reply... On Thu, Jul 2, 2009 at 8:16 PM, David H. Burns wrote: > I don't necessarily want to plot single pixels. I'm not at all sure what > "directly" means in this context. "Plotting" to the screen involves sending > data to a software algorithm which invokes the ap

Re: [Tutor] window graphics

2009-07-02 Thread Kent Johnson
On Wed, Jul 1, 2009 at 3:49 PM, David H. Burns wrote: > I am new to Python and I'm looking for help on graphics in Python3.0. All > the graphics libraries I've seen are far to complex (and don't seem > compatible with 3. What I really need to know is two things (1) how to set > up a graphic window

Re: [Tutor] window graphics

2009-07-02 Thread Alan Gauld
"David H. Burns" wrote All the graphics libraries I've seen are far to complex (and don't seem compatible with 3. See the other posts re the wisdom of using Python 3 at this stage, however What I really need to know is two things (1) how to set up a graphic window from tkinter i

Re: [Tutor] window graphics

2009-07-02 Thread A.T.Hofkamp
David H. Burns wrote: I am new to Python and I'm looking for help on graphics in Python3.0. All the graphics libraries I've seen are far to complex (and don't seem compatible with 3. What I really need to know is two things (1) how to set up a graphic window and (2)how to plot a pixel. Basicall

Re: [Tutor] window graphics

2009-07-02 Thread Gregor Lingl
Hi David, Python 3 (preferably 3.1) has a very easy to use graphics module in the standard library: the turtle module. It has a lot of capabilities, but alas, its working with geometrical objects and doesn't allow to adress single pixels . Get started by writing: >>> from turtle import *

[Tutor] window graphics

2009-07-02 Thread David H. Burns
I am new to Python and I'm looking for help on graphics in Python3.0. All the graphics libraries I've seen are far to complex (and don't seem compatible with 3. What I really need to know is two things (1) how to set up a graphic window and (2)how to plot a pixel. Basically that's all a "graphi