The tutorial I'm using is discussing list, tuples, and dictionaries. An
exercise at the end wants me to do this:
Write a Character Creator program for a role-playing game. The player should be
given a pool of 30 points to spend on four attributes: Strength,Stamina,
Wisdom, and Dexterity. The
--- On Tue, 5/26/09, W W wrote:
From: W W
Subject: Re: [Tutor] Tinkering with Tkinter
To: "Doug Reid"
Cc: Tutor@python.org
Date: Tuesday, May 26, 2009, 11:42 AM
On Mon, May 25, 2009 at 7:45 PM, Doug Reid wrote:
The following code and it's explanation doesn'
The following code and it's explanation doesn't seem to work:
1. >>> from Tkinter import *
2. >>> tk = Tk()
3. >>> btn = Button(tk, text="click me")
4. >>> btn.pack()
In line 1, we import the contents of the Tk module, so we can use them—the
most useful of these is Tk, which creates a basic win
--- On Mon, 5/25/09, xbmuncher wrote:
From: xbmuncher
Subject: [Tutor] Can't print a string, gives me syntax error
To: "tutor@python.org"
Date: Monday, May 25, 2009, 5:48 PM
I ran this in IDLE:
>>> t = 'hi'
>>> print t
SyntaxError: invalid syntax (, line 1)
I've also tried this as sample.
Thank you all for the help. I believe I understand now, and think this will be
a great group to learn from.
Doug
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hi,
I'm teaching myself Python mainly for to use as a hobby. I'd like to do
graphical programs eventually and maybe some simple graphic games. I feel I'm
doing well with the tutorial I'm using but it would be nice to have some real
people to ask questions and opinions, so on that note, I'm h