Re: [Tutor] database app

2005-06-19 Thread Alan G
> database and display customer information on web. ok, easy enough. > heres the trick. the database is MS Access. - ick. ick indeed, but maybe for different reasons... There is an ODBC database driver that you can use to access Access. But you will have to be careful about locking if the

[Tutor] question about comma delineated text

2005-06-19 Thread nephish
Hey there, i have some log files that i want to be able to work with. the lines of the log files are comma - delineated. i want to put those into a database where each piece of info (comma delineated) would be the fields of the database. ok, so the first obstacle is learning how to make a list or

Re: [Tutor] question about comma delineated text

2005-06-19 Thread Kent Johnson
nephish wrote: > Hey there, > i have some log files that i want to be able to work with. > the lines of the log files are comma - delineated. > i want to put those into a database where each piece of info (comma > delineated) > would be the fields of the database. > > ok, so the first obstacle is

[Tutor] Layering Canvas widgets with Tkinter

2005-06-19 Thread Phillip Hart
Greetings again helpful friends, I've written a series of Python/Tkinter programs, each of which will represent a different menu/screen in a simple Tkinter game I'm making. Now, my trouble is linking them together through layered menus with buttons. So far, I've tried using a single Tk window, c

[Tutor] Numbers & Characters As Dictionary Keys

2005-06-19 Thread DC Parris
I have a dictionary called Menu_Main: Menu_Main = { 1: ['People', Call_Fam], 2: ['Groups', Call_Group], 3: ['Events', nullfunc], 4: ['Attendance', nullfunc], 5: ['Visitation', nullfunc], 6: ['Finances', nullfunc],

[Tutor] Every Other

2005-06-19 Thread Chuck Allison
Hello Tutors, What would be the most Pythonic way of printing (or extracting) every other element of a list? Thanks in advance. -- Chuck Allison ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Layering Canvas widgets with Tkinter

2005-06-19 Thread jfouhy
Quoting Phillip Hart <[EMAIL PROTECTED]>: > So far, I've tried using a single Tk window, creating a series of canvas > widgets, each containing a series of buttons. When pressed, each button > calls a function which uses .grid_remove() on the current canvas and > creates a new canvas with new butt

Re: [Tutor] Every Other

2005-06-19 Thread jfouhy
Quoting Chuck Allison <[EMAIL PROTECTED]>: > Hello Tutors, > > What would be the most Pythonic way of printing (or extracting) every > other element of a list? Thanks in advance. This is probably it: >>> arr = range(20) >>> arr[::2] [0, 2, 4, 6, 8, 10, 12, 14, 16, 18] >>> arr[1::2] [1, 3, 5, 7

Re: [Tutor] Numbers & Characters As Dictionary Keys

2005-06-19 Thread Brian van den Broek
DC Parris said unto the world upon 20/06/2005 01:13: > I have a dictionary called Menu_Main: > > Menu_Main = { 1: ['People', Call_Fam], > 2: ['Groups', Call_Group], > 3: ['Events', nullfunc], > 4: ['Attendance', nullfunc], > 5: ['Vi