I started to study a bit about Web development with Flask. The framework treats dynamic URL components as follows:
@app.route('/<comp_dinamico>')
def page(comp_dinamico):
# codigo
return '%s' % comp_dinamico
What I wanted to understand is how the substring in '/<comp_dinamico>'
becomes a variable. Or if this is not a variable, I'd like to understand what it is. Thanks in advance.