Update: Thanks for the suggestions. After further research, Ive formulated the question here: Python / editline on OS X: £ seems to be related to a pre-pre-word
On Mac OS X, I cannot enter the pound sign (£) in the interactive Python shell.
- Mac OS X 10.5.5
- Python 2.5.1 (r251: 54863, January 17, 2008, 19:35:17)
- European keyboard (£ - shift-3)
When I type "£" (i.e., press shift-3) in an empty Python shell, nothing appears.
If Ive already typed a few characters, for example
>>> 1234567890 1234567890 1234567890
... then pressing shift-3 will make the cursor position by itself after the very last space or the beginning of the line, if there are no spaces between the cursor and the beginning of the line.
bash shift-3 "£" , .
, "£" Python?