extchars.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. """
  2. Extended characters can be inserted into STRING or TEXT files.
  3. The following extended character constants are defined:
  4. * :const:`UP_ARROW`
  5. * :const:`DOWN_ARROW`
  6. * :const:`LEFT_ARROW`
  7. * :const:`RIGHT_ARROW`
  8. * :const:`PACMAN`
  9. * :const:`SAIL_BOAT`
  10. * :const:`BALL`
  11. * :const:`TELEPHONE`
  12. * :const:`HEART`
  13. * :const:`CAR`
  14. * :const:`HANDICAP`
  15. * :const:`RHINO`
  16. * :const:`MUG`
  17. * :const:`SATELLITE_DISH`
  18. * :const:`COPYRIGHT_SYMBOL`
  19. * :const:`MALE_SYMBOL`
  20. * :const:`FEMALE_SYMBOL`
  21. * :const:`BOTTLE`
  22. * :const:`DISKETTE`
  23. * :const:`PRINTER`
  24. * :const:`MUSICAL_NOTE`
  25. * :const:`INFINITY_SYMBOL`
  26. """
  27. # Extended characters
  28. UP_ARROW = "\x08\x64"
  29. DOWN_ARROW = "\x08\x65"
  30. LEFT_ARROW = "\x08\x66"
  31. RIGHT_ARROW = "\x08\x67"
  32. PACMAN = "\x08\x68"
  33. SAIL_BOAT = "\x08\x69"
  34. BALL = "\x08\x6A"
  35. TELEPHONE = "\x08\x6B"
  36. HEART = "\x08\x6C"
  37. CAR = "\x08\x6D"
  38. HANDICAP = "\x08\x6E"
  39. RHINO = "\x08\x6F"
  40. MUG = "\x08\x70"
  41. SATELLITE_DISH = "\x08\x71"
  42. COPYRIGHT_SYMBOL = "\x08\x72"
  43. MALE_SYMBOL = "\x08\x73"
  44. FEMALE_SYMBOL = "\x08\x74"
  45. BOTTLE = "\x08\x75"
  46. DISKETTE = "\x08\x76"
  47. PRINTER = "\x08\x77"
  48. MUSICAL_NOTE = "\x08\x78"
  49. INFINITY_SYMBOL = "\x08\x79"