For a quick overview of Model/View (and sometimes Controller)take a look at the Apple web site. their default GUI design uses
the paradigm and there is a good visual description in theoverview:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/chapter02/chapter_2_section_3.h
Hello there,i have a customer list, each with a number of email address that we send notifications to via text message.the problem is, there are a number of providers ( just two ) that reject our messages.the script goes a little something like this :
Address = '[EMAIL PROTECTED]'From = '[EMAIL PRO
> You will need to create a module that draws the GUI and
>> handles the user events. That module will probably
>> import this one (rather than this one importing Tkinter)
>> You can then just pass the canvas object to each object
>> in your environment and ask it to draw itself...
>
> You might li
gee whiz, i thought i had poured over that line sufficiently.It works now. imagine that.thanks,shawnOn 7/29/06, Python <
[EMAIL PROTECTED]> wrote:On Sat, 2006-07-29 at 09:26 -0500, shawn bright wrote:
> Hey there,> i have an app with this line.> sys.stderr.write("GET DATA %s %d %d\n" (sound, ti
On Sat, 2006-07-29 at 09:26 -0500, shawn bright wrote:
> Hey there,
> i have an app with this line.
> sys.stderr.write("GET DATA %s %d %d\n" (sound, time_limit, digit_count))
sys.stderr.write("GET DATA %s %d %d\n" % (sound, time_limit, digit_count))
^
Hey there,i have an app with this line.sys.stderr.write("GET DATA %s %d %d\n" (sound, time_limit, digit_count))it is failing with the following error.Traceback (most recent call last):
File "/usr/share/asterisk/agi-bin/ast_agi_test.agi", line 88, in ? entered_digits = getNumber(welcome, ti
On Fri, 2006-07-28 at 23:38 -0400, Kent Johnson wrote:
> Dave Kuhlman wrote:
> > On Thu, Jul 27, 2006 at 05:34:13PM +0100, Alan Gauld wrote:
> Right up to here, I'm standing on my chair and cheering.
> >- Store them in variables.
> >
> Ouch! No! Variables don't store values, they refer to v
Probably good to change the name, there is a built in class"object" and this could cause confusion...
Ok, I'll do this.
You already import Tkinter so presumabnly you want to usethat as your GUI? What other kinds of modules do you want?
You already have a display method in your object so youjust
> class Object:
Probably good to change the name, there is a built in class
"object" and this could cause confusion...
>def __init__ (self, x=10, y=10):
>def __repr__ (self):
>def display(self, canvas, x, y, width, height):
>def rand_vec(self):
>
>
> class Environment:
>def __
> Let me try to summarize a few points that Alan has tried to
> A variable is a name bound to a value in a namespace.
>
> A namespace is a dictionary in which Python can look up a name
> (possibly) to obtain its value.
A namespace is *implemented* in Python as a dictionary.
A namespace is a conc
10 matches
Mail list logo