Here's my actual code, but I've tried to strip out the irrelevant parts, but
it should compile. FYI, I'm using 2.6 not 3. The code is basically drawing
a grid with points in it. I'm fairly new to Python, so constructive
criticism is appreciated.
class Editor:
GSPACE = 80
OFFSET = 50
I'm new to python, so keep that in mind.
I have a tk Canvas that I'm trying to draw on, and I want to start my
drawing at an offset (from 0) location. So I can tweak this as I code, I
set this offset as a class level variable:
def ClassName:
OFFSET = 20
def __init__(self, master)):
Tim Shannon wrote:
I'm new to python, so keep that in mind.
I have a tk Canvas that I'm trying to draw on, and I want to start my
drawing at an offset (from 0) location. So I can tweak this as I
code, I set this offset as a class level variable:
def ClassName:
OFFSET = 20
def