[reportlab-users] symbol bullet point question

Mike Dewhirst miked at dewhirst.com.au
Tue Mar 14 04:37:20 EST 2006


Christoph Zwerschke wrote:
> Tim Roberts wrote:
> 
>> Mike Dewhirst wrote:
>>
>>> I tried to use chr(267) but got ValueError: arg not in range(256) and 
>>> it didn't like \267 (invalid token)
>>
>>
>> The 267 is octal -- base 8.  That's 183 decimal, or 0xB7 in hex.  That
>> is, in fact, the "bullet" character in the symbol font.
>>
>> You should be able to use chr(183) or '\xb7'.
> 
> 
> You can also use octal numbers in Python, by writing chr(0267) (note the 
> leading zero) or '\267' (note that this is inside string quotes).

I thought I tried chr('\267') but I was in a real hurry for a demo 
today. I took Tim's advice and didn't look back.

I'll take what you say as gospel and try it soonest then let you know if 
I can't get it going. Still in a hurry - gotta go :)

Thanks Christoph

Mike
> 
> -- Christoph
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
> 
> 



More information about the reportlab-users mailing list