On Apr 26, 11:58 am, Lie Ryan <lie.1...@gmail.com> wrote: > On 04/27/10 03:50, Peter Otten wrote: > > > It is a bit unfortunate that your editor has side effects on your program, > > and I recommend that you never trust the result of importing a module from > > within idle's shell completely. > > In fact, never trust IDLE. IDLE is a nice IDE when the alternative is > Notepad; but for serious work, you need a real IDE or a programmer's > text editor (vim or emacs, whichever side you're in). > > Always test the you write inside IDLE on a command line.
Thank you both for the replies. importing tkinter.filedialog did the trick, and I appreciate the advice about not depending on IDLE. I'm not planning on doing any serious work, so I will probably continue to rely on IDLE for now. -- http://mail.python.org/mailman/listinfo/python-list