title: Python, Colorama, assign color code to variable
body: <p>I have changed the colors of Python console using the following code:  </p>
  
  <pre><code>from colorama import init
  init()
  from colorama import Fore, Back, Style
  print(Fore.COLORNAME)
  </code></pre>
  
  <p>But I have to set COLORNAME myself, like this:<br>
      print(Fore.RED)</p>
  
  <p>What I'm trying to do is to make COLORNAME as variable, so that I can change from somewhere else, I wanna make it something like this:  </p>
  
  <pre><code>COLORNAME = 'RED'
  print(Fore.COLORNAME)
  </code></pre>
  
  <p>and the test should be printed as RED, but I'm getting this error:<br>
  'AnsiCode object has no attribute str'<br>
  because this:<br>
      COLORNAME = 'RED'<br>
  mean I'm assigning a string to the variable COLORNAME.<br>
  Any ideas please? Thank you.</p>
  
  <p>Windows 8, 64bit, Python 2.7</p>