Re: [Tutor] Zipping files and Mysql

2011-06-28 Thread Timo
On 27-06-11 21:45, gagnr...@verizon.net wrote: I am trying to write a script that will dump a mysql db and then zip the file. I do know about mysqldb, but I was wondering if there is anything native to the libraries that will allow me to do this without using a seperate piece. Then after I

Re: [Tutor] Zipping files and Mysql

2011-06-28 Thread gagnrath
First time trying to use it, so I don't expect it to work. Got to see if I have a file i don't mind playing around with to see if I can zip it up using the zipfile. As for the MySQL, I think I may have to resign myself to using an alternate method than the straight python libraries. Jun

[Tutor] Python GUI

2011-06-28 Thread David Merrick
# Guess My Number GUI # Create a story based on user input from tkinter import * import random class Application(Frame): GUI application that creates a story based on user input. def __init__(self, master): Initialize Frame. super(Application, self).__init__(master)

Re: [Tutor] Python GUI

2011-06-28 Thread Luke Paireepinart
The error message tells you everything... On line 60, you try to add to number but the variable hasn't been defined. We aren't going to debug your code for you, do YOU think it will work apart from this? Have you tried running any of the code? It's almost always better to build small parts and

Re: [Tutor] Python GUI

2011-06-28 Thread priyesh raj
Message: 2 Date: Wed, 29 Jun 2011 16:28:25 +1200 From: David Merrick merrick...@gmail.com To: tutor@python.org Subject: [Tutor] Python GUI Message-ID: BANLkTinuin4LV=6he26tc2ysxhvqfmd...@mail.gmail.com Content-Type: text/plain; charset=utf-8 # Guess My Number GUI # Create a story based