[Tutor] Open Source database software

2008-11-24 Thread Mike Meisner
Y'all have been so good with suggestions on my programming problems in the past, I wonder if anyone could provide a suggestion on a more general topic. I'd like to get away from using Microsoft Access. I have a number of Access databases to convert. My needs are: 1. A relational database man

[Tutor] Scaling a Tkinter canvas widget

2008-10-26 Thread Mike Meisner
I would like to plot various datasets on a Tkinter canvas widget. The problem is that each of my datasets have different x,y extremes. For instance, one dataset may have xmin = 0, xmax = 300, ymin = 0, ymax = 300; whereas the next dataset may have xmin = -200, xmax = 1200, ymin = 2000, ymax =

[Tutor] Immediately committing changes to shelve files

2008-10-26 Thread Mike Meisner
I'm running a number of test cases and saving their results in a shelve file. A full run of the test cases takes about 36 hours. During that time, if something interrupts the run (e.g., a power outage, which has happened), I find that none of the completed test cases have been committed to the

[Tutor] Printing Scripts with color/good formatting

2008-09-12 Thread Mike Meisner
I've been working with Python on two different machines: under Windows XP and under 64-bit Vista. In the XP version, the Python 32-bit editor prints my scripts using the color coding in the editor and a comfortable to read font. Under Vista 64-bit, only the IDLE environment is available which

Re: [Tutor] List indexing problem

2008-07-25 Thread Mike Meisner
Thanks Steve. It's obvious now that you've pointed it out. Do you happen to know if there is an efficient way to initialize a list like this without explicitly writing out each element? Mike - Original Message - From: "Steve Willoughby" <[EMAIL PROTECT

[Tutor] List indexing problem

2008-07-25 Thread Mike Meisner
I need to do some statistical analysis by binning values into an array. Being new to Python, I tried to use a list of lists. I've extracted just the minimum code that I'm having trouble with: def testanalysis(): IP = [] temp = [[0, 0, 0],[0, 0, 0],[0, 0, 0]] # initialize to zero

[Tutor] Problem with creating class instance

2008-07-09 Thread Mike Meisner
I've just started using classes in Python. The basic goal is to develop a script that tracks individual player stats for poker tournaments. This involves nesting a class within a class within a class. The Player class incorporates a Stats class (three instances for three different game types)

[Tutor] WIn32 extension -= exposing methods with a windows handle

2008-06-21 Thread Mike Meisner
I would like to capture information from a multi-player internet game in order to tabulate player statistics. Specifically, I need information from a chat box within the main play window. Using the win32 extension (win32gui module: EnumWindows, EnumChildWIndows) I can obtain a handle to the ch