python - Unicode int to char, leading zero -


i have integer representing unicode character want transform actual character can print out.

however function unichr() gives me different behaviour depending on whether there leading 0 or not. (see screenshot below better explanation)

however, when integer stored in variable first behavior whilst want achieve second. how can this?

enter image description here


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -