Using @ in python
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6392739/what-does-the-symbol-do-in-python">What does the @ symbol do in Python</a></p>
  
  <p><a href="http://stackoverflow.com/questions/739654/understanding-python-decorators">Understanding Python decorators</a>  </p>
</blockquote>



<p>When I was learning python I didn't see examples of code using @ now I'm not sure how a function needs to be set up to be used like this.
For example if I need:</p>

<pre><code>def login_required(input):
    #to task
    return something

@login_required
def get_profile():
    #Do task
</code></pre>

<p>Giving it input if I need to and will it return a Boolean? </p>
