Message250631
You appear to be reading the Python 3 documentation and using Python 2:
$ python3
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 23 2015, 02:52:03)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> chr(1234)
'Ӓ'
>>> ^D
$ python2
Python 2.7.10 (v2.7.10:15c95b7d81dc, May 23 2015, 09:33:12)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> chr(1234)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: chr() arg not in range(256) |
|
Date |
User |
Action |
Args |
2015-09-14 05:41:05 | zach.ware | set | recipients:
+ zach.ware, docs@python, Mohamed_Atef |
2015-09-14 05:41:05 | zach.ware | set | messageid: <1442209265.45.0.345431576732.issue25104@psf.upfronthosting.co.za> |
2015-09-14 05:41:05 | zach.ware | link | issue25104 messages |
2015-09-14 05:41:04 | zach.ware | create | |
|