Hello File.py

2005-02-18 Thread Lith
Here's a simple script, where I want to use a GUI to select a file. (And eventually do something interesting with it.) Some problems appear. (1) Why does it call MenuOpen automatically? (2) Why won't it open when I choose the menu item? (3) Python Cookbook gave me the sys.exit call, if I run it

IDLE edit windows ignores tab settings

2005-02-17 Thread Lith
[Python/IDLE newbie here] I created a .py file in UltraEdit and saved it. I use (and always will, despite the FAQ's recommendation against it) tabs instead of spaces, set to 4 spaces per tab. When I open the file in IDLE, suddenly the tabs are 8 spaces wide. This is despite the fact that I've gon