I knew that I could get unicode characters using the escape sequence, like this:
>>> print "\3"
♥
and I just wanted to look through available ASCII characters and written this:
for i in xrange(1, 99):
print "\%o" % i
and it prints "\1", "\2", "\3", etc., so not unicode characters. I then tried it using %s, %r, and %d and none of those seem to work either.
It was much more interesting than seeing available ASCII characters so I started reading about string formating and ended up with this piece working:
for i in xrange(1, 99):
print "{:c}".format(i)
The question is - why the initial code wasn't working?