title: python decorators in interpreter
body: <p>how to use this code in python interactive shell (interpreter):</p>
  
  <pre><code>@makebold
  @makeitalic
  def hello():
      print ("Hello, world!")
  </code></pre>
  
  <p>in shell I get this error:</p>
  
  <pre><code>&gt;&gt;&gt; @makebold
  ...     hello()
    File "&lt;stdin&gt;", line 2
      hello()
      ^
  IndentationError: unexpected indent
  &gt;&gt;&gt; @makebold
  ... hello()
    File "&lt;stdin&gt;", line 2
      hello()
          ^
  SyntaxError: invalid syntax
  &gt;&gt;&gt;
  </code></pre>