Re: How to print non-printable chars??
On Aug 13, 1:22 am, Nobody wrote: > On Sat, 13 Aug 2011 00:59:42 -0400, Julio Cesar Rodriguez Cruz wrote: > > > Hi all, > > If I open an .exe file in any text editor I get lot of odd chars, > > what I want is to know how to output those chars if I have the hexadecimal >
How to print non-printable chars??
('ñè') '=F1=E8=18' >>> quopri.decodestring('=F1=E8=18') '\xf1\xe8\x18' but how to do the reverse? ...gived '\xf1\xe8\x18', print 'ñè' any tips? thanks Julio Cesar -- http://mail.python.org/mailman/listinfo/python-list