title: Printing icons in the shell
body: <p>Below are some examples, when run inside the Python 3.4.3 Shell included in IDLE3 it will output special characters (icons). When I run this same code inside a terminal, the characters will not appear at all. </p>
  
  <pre><code>""" Some print functions with backslashes.
      In IDLE3 they will output 'special characters' or icons.
      In a terminal, they will not output anything. """
  
  #Somtimes a visual effect.
  print ("a, \a") #telephone
  print ("\a")
  print ("b, \b") #checkmark
  print ("c, \c") # just a '\c' output.
  # other letters like '\c' kept out the rest of this list.
  print ("f, \f") #quarter note (musical)
  print ("n, \n") #newline
  print ("r, \r") #halve note (musical)
  print ("t, \tTabbed in")
  #print ("u, \u") #syntaxerror
  print ("\u0000") #empty
  print ("\u0001") #left arrow
  print ("\u0002") #left arrow underline
  print ("\u0003") #right arrow (play)
  print ("v, \v") #eighth note (musical)
  print ("\x01") # == '\u0001' __________(x == 00 ?)
  print ("\1") # == '\u0001' == '\x01'
  
  #some more fooling around
  print ("\1") #left arrow
  print ("\2") #underlined left arrow
  print ("\3") #right arrow
  print ("\4") #underlined right arrow
  print ("\5") #trinity
  print ("\6") #Q-parking
  print ("\7") #telephone
  print ("\8")
  print ("\9")
  print ("\10") #checkmark
  print ("\11 hi") #tab
  print ("\12 hi") #newline
  print ("\13") #8th note
  print ("\14") #4th note
  print ("\15") #halve note
  print ("\16") #whole note
  print ("\17") #double 8th note
  print ("\18")
  print ("\19")
  print ("\20") #left arrow (black)
  print ("\21") #right arrow (black)
  print ("\22") #harry potter
  print ("\23") #X-chrom-carrying cell
  print ("\24") #Y-chrom-carrying cell
  print ("\25") #diameter for lefties
  print ("\26") #pentoid
  print ("\27") #gamma?
  print ("\28") #I finally realised this will have to do with triple
                # binary per character? 111 = 7, stop = 8
  
  print ("\30") #
  print ("\31") # female
  print ("\32") # male
  print ("\33") #
  print ("\34") # clock
  print ("\35") # alfa / ichtus
  print ("\36") # arc
  print ("\37") # diameter
  
  print ("\40hi") # spaces? I don't know. 
  
  
  # This does not work by the way:
  
  ##import string
  
  ###No visual effect.
  ##alfa = string.ascii_lowercase
  ##for x in alfa:
  ##    print ("\%s" % x)
  </code></pre>
  
  <p>Some of my Python Shell 3.4.3. output in IDLE3:</p>
  
  <p><img src="https://i.stack.imgur.com/ZHo2W.png" alt="IDLE output"></p>
  
  <p>Are these 'special' characters c.q. icons used in any way? Is there some documentation I could have read that would have prevented me from asking this question?</p>
  
  <p>I checked on other questions about this issue on Stack, but all I found was people trying to pass in 'foreign' (like from word symbols or whatever) characters and make them get printed by Python.</p>