Int code to string / string to Int char code


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. >>> chr(199)
  2. '\xc7'
  3. >>> print chr(199)
  4. ?
  5. >>> ord('\xc7')
  6. 199

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.