I want to enter all the elements of a python list in one single line without pressing Enter.
For Example:
>>> l = []
>>> l = [raw_input() for i in xrange(5)]
1
2
3
4
5
Instead of this I want to enter like
>>> ...
1 2 3 4 5
Any help or pointers will be great.
Bit less verbose: