[Pythonmac-SIG] I know this is a stupid question but................

Just van Rossum just@letterror.com
Thu, 9 Aug 2001 09:53:53 +0200


Bill Bedford wrote:

> How do I get python to print a literal '=A3' -- that's a pound sign,=20
> chr \163, unicode \xa3
>=20
> All I want to do is print the price in may catalogue.......

  print chr(163)

works for me. If it doesn't: maybe the font you're using doesn't contain =
a pound
symbol? Or do you have unicode string? In which case print s.encode('macr=
oman')
should work.

Just