Post Reply 
Is there an escape sequence for Unicode characters?
08-27-2015, 01:57 PM
Post: #1
Is there an escape sequence for Unicode characters?
For example, if I wanted to print a pack of playing cards, I would like to be able to do
For I from 1 to 52 print("/u"+I)
(Plus whatever offset the first card is at).

So far all the ways I have tried just print the /u as text rather than recognising it as Unicode.

The alternative of using shift/chars and manually selecting each of the 52 cards works fine, but is tedious.

Apologies if this is covered in the manual. My reader forgets what it is searching for after the first couple of pages.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Is there an escape sequence for Unicode characters? - StephenG1CMZ - 08-27-2015 01:57 PM



User(s) browsing this thread: 1 Guest(s)