title: How do I use extended characters in Python's curses library?
body: <p>I've been reading tutorials about Curses programming in Python, and many refer to an ability to use extended characters, such as line-drawing symbols. They're characters > 255, and the curses library knows how to display them in the current terminal font.</p>
  
  <p>Some of the tutorials say you use it like this:</p>
  
  <pre><code>c = ACS_ULCORNER
  </code></pre>
  
  <p>...and some say you use it like this:</p>
  
  <pre><code>c = curses.ACS_ULCORNER
  </code></pre>
  
  <p>(That's supposed to be the upper-left corner of a box, like an L flipped vertically)</p>
  
  <p>Anyway, regardless of which method I use, the name is not defined and the program thus fails. I tried "import curses" and "from curses import *", and neither works.</p>
  
  <p>Curses' window() function makes use of these characters, so I even tried poking around on my box for the source to see how <em>it</em> does it, but I can't find it anywhere.</p>