Naming a file

2008-01-19 Thread snoylr
I have a variable called filename How do I create a file using the filename variable as the name of the file? For example if the variable is 105Markum What statement do I need to create a file name 105Markum.txt? -- http://mail.python.org/mailman/listinfo/python-list

Tkinter app=App(root) problem

2005-04-30 Thread snoylr
This is my first day working with Tkinter. I'm using python2.3 on WindowsXP. I found this program and entered it. from Tkinter import * class App: def _init_(self,master): frame = Frame(master) frame.pack() self.button = Button(frame, text = "Quit", fg = "red", comma