Maximize main window with code

2006-06-30 Thread JohnJohnUSA
I am new to Python. How do I get the following program to appear initially with the window maximized? Thanks for your help! from Tkinter import * # set up the window itself top = Tk() F = Frame(top) F.pack() # add the widgets lHello = Label(F, text="Hello") lHello.pack() bQuit = Button(F, text="

Error Trapping

2006-07-01 Thread JohnJohnUSA
I ran the following program to retrieve entries from the windows registry on Windows XP: import win32api, win32con aReg = win32api.RegConnectRegistry(None, win32con.HKEY_CURRENT_USER) aKey = win32api.RegOpenKeyEx(aReg, r"Software\Microsoft\Internet Explorer\PageSetup") for i in range(100): Na

Request for addition to Preferences

2006-07-02 Thread JohnJohnUSA
I wasn't sure how to get my request to the appropriate person so I am posting it here! When I log in to this site, I normally want to go to the Python forum. I can get there via a series of mouse clicks. I would prefer to have the option of specifying in my Preferences where I want to be positio

re:Request for addition to Preferences

2006-07-02 Thread JohnJohnUSA
The site that I am referring to is the one that I used to post my request located at: http://www.nixforum.org/ -- http://mail.python.org/mailman/listinfo/python-list

How to specify default directory for saving files in IDLE

2006-07-03 Thread JohnJohnUSA
I am using Python IDLE 2.4.3 on Windows XP. I use File->New Window to create a new program. In the Save As dialog, it always takes me to the python program directory (where python is installed). Since this is not where I want to save my source file, I have to select the directory I want. Is there