Python get raw_input but manually decide when string is done
        Posted  
        
            by Jasie
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jasie
        
        
        
        Published on 2010-05-04T09:21:41Z
        Indexed on 
            2010/05/04
            9:28 UTC
        
        
        Read the original article
        Hit count: 234
        
I want someone to type words in the console, and autocomplete from a list when they hit "tab" key. However, raw_input won't return a string until someone hits [Enter]. 
How do I read characters into a variable until the user hits [Enter]?
*Note: I don't want to use import readline for autocompletion because of OS issues.
© Stack Overflow or respective owner