title: printing bold, colored, etc., text in ipython qtconsole
body: <p>I'm trying to get text to display as bold, or in colors, or possibly in italics, in ipython's qtconsole.</p>
  
  <p>I found this link: <a href="https://stackoverflow.com/questions/8924173/python-print-bold-text">How do I print bold text in Python?</a>, and used the first and second answers, but in qtconsole, only the underlining option works.</p>
  
  <p>I try:</p>
  
  <p><code>print '\033[1m' + 'Hello World!' + '\033[0m'</code></p>
  
  <p>And get:</p>
  
  <p><code>Hello World!</code></p>
  
  <p>(No boldface). The colors don't work either. But:</p>
  
  <p><code>print '\033[4m' + 'Hello World!' + '\033[0m'</code></p>
  
  <p>And get:</p>
  
  <p><code>Hello World!</code></p>
  
  <p>With underlining.</p>
  
  <p>This is only in the qtconsole. Running ipython just in the terminal, it works to do boldface and color in this way.</p>
  
  <p>There were other options suggested in that link and another, <a href="https://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python">Print in terminal with colors using Python?</a>, linked from it, but they all seem more complex, and to use more elaborate packages, than seems necessary for what I want to do, which is simply to get qtconsole to display like the ordinary terminal does.</p>
  
  <p>Does anyone know what's going on? Is this simply a limitation of the qtconsole?</p>