Re: [Tutor] displaying properties/methods

2005-11-18 Thread w chun
> dir(sys) > help(sys) to further elaborate, dir() will tell you what it has, and help() will dump pretty-printed doc strings for you. good luck! -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python Programming", Prentice Hall, (c)2006,2001 http://corepython.com

Re: [Tutor] Newbie ?

2005-11-18 Thread Chris or Leslie Smith
Orri Ganel wrote: Another way to do this would be: | import sys for i in range(len(sequence)-1,-1,-1): | sys.stdout.write(sequence[i]) || It might be interesting to note that although this *range* works for accessing the indices, you can't do the same directly in slice notatio

Re: [Tutor] Tkinter mainloop

2005-11-18 Thread K. Weinert
Hello, Thanks a lot for the pointers, Kent, and the explanations, Michael! > There is an undocumented hook that lets you change this - the function > Tk.report_callback_exception() is called to actually report the error. > You can redefine this function to do what you want. Here are a couple

Re: [Tutor] Tutor Digest, Vol 21, Issue 79

2005-11-18 Thread Chris or Leslie Smith
Orri Ganel wrote: Another way to do this would be: | import sys for i in range(len(sequence)-1,-1,-1): | sys.stdout.write(sequence[i]) || It might be interesting to note that although this *range* works for accessing the indices, you can't do the same directly in slice notatio