Is there an python function similar to raw_input but that doesn't show a newline when you press enter. For example, when you press enter in a Forth prompt it doesn't show a newline.
Edit:
If I use the code:
data = raw_input('Prompt: ')
print data
than the output could be:
Prompt: Hello
Hello
because it printed a newline when I pressed enter. I want a function similar to raw_input that doesn't show the newline. So if the function I wanted was called special_input and I used the code:
data = special_input('Prompt: ')
print data
than the output would be something like:
Prompt: Hello Hello