Printing special characters in Python -


i beginner python programmer , wanted use character: █. have tried doing: print "█" got error. have looked solutions, have found nothing helped me.

you can print unicode symbol using \uxxxx notation. instance, 2588 code unicode block.

 print('\u2588') 

Comments

Popular posts from this blog

java - Null response to php query in android, even though php works properly -

node.js - Using Node without global install -

php - CakePHP HttpSockets send array of paramms -