Alan Gauld wrote:
> Moving somewhat off topic...
> 
>>> file). I need to write out a pound sign '#' to the file
>> Works fine here:
>> $ python -c 'open("foo","w").write("£")'
> 
> I always find it amusing when Americans refer to the
> hash or square symbol (#) as a pound sign (£). This
> is of course an historical feature of old keyboards
> when, to get a hash symbol (#), you had to type a
> pound sign(£), ie shift 3.

That is a very interesting explanation but I prefer this one:
http://en.wikipedia.org/wiki/Number_sign#Naming_convention_within_the_USA

# is an abbreviation for 'pound' the weight, not 'pound' the unit of 
currency.

Of course the correct name for this symbol is 'octothorpe' :-)
http://en.wiktionary.org/wiki/Octothorpe

Kent
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to