Flask and Python 3
Terry Reedy
tjreedy at udel.edu
Tue Sep 23 19:46:41 EDT 2014
On 9/23/2014 5:57 PM, Juan Christian wrote:
> On Tue, Sep 23, 2014 at 6:48 PM, John Gordon <gordon at panix.com
> <mailto:gordon at panix.com>> wrote:
>
> > @app.route('/')
> > def index():
> > return 'Hello World'
>
> As posted, your code is not indented. Is this literally how your code
> looks?
>
> The mail screwed the indentation, it's indented in the file.
Did you use tabs? They are more likely to disappear than spaces.
--
Terry Jan Reedy
More information about the Python-list
mailing list