Newbie question: Tab key giving different output
timr at probo.com
Tue Nov 29 08:52:39 CET 2005
getkaizer at gmail.com wrote:
>While in the interactive mode, i need to use the tab key to indent my
>code. However, i get a message "List all 174 possibilities? (Y/N)"
>instead of an indent. So i use spaces.
>How do i tell python to give me indents?
You know, the number of spaces you use is not important. You can use one
space for your indentation, which is the same number of keystrokes as a
tab. Good looking code is not of prime importance when you're typing at
the Python prompt.
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list