Re: Flask failure

2018-06-18 Thread T Berger
On Friday, June 15, 2018 at 1:48:16 PM UTC-4, Elismar Luz wrote: > Address already in use! Hi Elismar, I'm new to Python and didn't understand your post when I first read it. Thanks, Tamara -- https://mail.python.org/mailman/listinfo/python-list

Re: Flask failure

2018-06-15 Thread Colin McPhail
> On 15 Jun 2018, at 16:19, T Berger wrote: > > I’m trying to build a webapp with flask. I installed flask, created a webapp > in IDLE, but when I tried testing it at my terminal, I got a huge error > message. This is the app: > > from flask import Flask > app = Flask(__name__) > @app.route(

Re: Flask failure

2018-06-15 Thread Elismar Luz
Address already in use! On Fri, Jun 15, 2018 at 12:19 PM, T Berger wrote: > I’m trying to build a webapp with flask. I installed flask, created a > webapp in IDLE, but when I tried testing it at my terminal, I got a huge > error message. This is the app: > > from flask import Flask > app = Flas

Flask failure

2018-06-15 Thread T Berger
I’m trying to build a webapp with flask. I installed flask, created a webapp in IDLE, but when I tried testing it at my terminal, I got a huge error message. This is the app: from flask import Flask app = Flask(__name__) @app.route('/') def hello() -> str:     return 'Hello world from Flask!' ap