Re: Flask and Python 3

2014-09-26 Thread Terry Reedy
On 9/26/2014 7:41 AM, Ned Batchelder wrote: Can't we just stick to trying to help people with Python, and let them make other decisions for themselves? I agree. The OP should watch the video on debugging, and the off-topic discussion of video versus text should end. -- Terry Jan Reedy -- h

Re: Flask and Python 3

2014-09-26 Thread Ned Batchelder
On 9/25/14 2:26 PM, Chris “Kwpolska” Warrick wrote: On Thu, Sep 25, 2014 at 8:18 PM, Juan Christian wrote: The thing is, it’s text. I suppose I could use some text-to-speech software to provide you with a video tutorial version of that. No, you can't, if you think a video tutorial is only t

Re: Flask and Python 3

2014-09-26 Thread Rustom Mody
On Friday, September 26, 2014 3:26:34 PM UTC+5:30, Jean-Michel Pichavant wrote: > Though I'm never using videos to learn, they probably can benefit some people. > > Ask you this question : is there a major difference between videos and > presentations, if not how can we justify the money spent o

Re: Flask and Python 3

2014-09-26 Thread Jean-Michel Pichavant
- Original Message - > From: "Chris Angelico" > Cc: "Python" > Sent: Friday, 26 September, 2014 1:55:51 AM > Subject: Re: Flask and Python 3 > > On Fri, Sep 26, 2014 at 4:35 AM, Juan Christian > wrote: > > when I say video tutorial, it

Re: Flask and Python 3

2014-09-25 Thread Chris Angelico
On Fri, Sep 26, 2014 at 4:35 AM, Juan Christian wrote: > when I say video tutorial, it's implied that every video that I talked about > have 1. The source-code (if programming/code related), 2. The transcripts > and in some cases even 3. PDF version of the video. I've almost never seen videos tha

Re: Flask and Python 3

2014-09-25 Thread Chris Angelico
On Fri, Sep 26, 2014 at 3:28 AM, Chris “Kwpolska” Warrick wrote: > It doesn’t matter. Here, have some wisdom, as provided by the top > Google hit for “video tutorials suck”: > https://news.ycombinator.com/item?id=4565615 """The online video medium may be great for bloggers, but when I'm seeking

Re: Flask and Python 3

2014-09-25 Thread Juan Christian
On Thu, Sep 25, 2014 at 3:23 PM, Chris Angelico wrote: > Actually, what most of the comments are agreeing on is that videos > need their transcripts. Without them, they suck. Most videos don't > have any sort of transcript. Ergo, most videos suck. I'm not talking about "360p 3min kid's tutorial

Re: Flask and Python 3

2014-09-25 Thread Chris “Kwpolska” Warrick
On Thu, Sep 25, 2014 at 8:18 PM, Juan Christian wrote: >> The thing is, it’s text. I suppose I could use some text-to-speech >> software to provide you with a video tutorial version of that. > > > No, you can't, if you think a video tutorial is only that, I'm afraid to > tell that you only saw te

Re: Flask and Python 3

2014-09-25 Thread Chris Angelico
On Fri, Sep 26, 2014 at 4:18 AM, Juan Christian wrote: > On Thu, Sep 25, 2014 at 2:28 PM, Chris “Kwpolska” Warrick > wrote: >> >> It doesn’t matter. Here, have some wisdom, as provided by the top >> Google hit for “video tutorials suck”: >> https://news.ycombinator.com/item?id=4565615 > > > Usin

Re: Flask and Python 3

2014-09-25 Thread Juan Christian
On Thu, Sep 25, 2014 at 2:28 PM, Chris “Kwpolska” Warrick < kwpol...@gmail.com> wrote: > > It doesn’t matter. Here, have some wisdom, as provided by the top > Google hit for “video tutorials suck”: > https://news.ycombinator.com/item?id=4565615 > Using your link, the first comment from user 'aroc

Re: Flask and Python 3

2014-09-25 Thread Chris “Kwpolska” Warrick
On Wed, Sep 24, 2014 at 9:39 PM, Juan Christian wrote: > On Wednesday, September 24, 2014, Chris “Kwpolska” Warrick > wrote: >> >> Learning from videos is the worst thing you can do. Use the official >> flask documentation at http://flask.pocoo.org/docs/0.10/quickstart/ — >> it’s much friendlier

Re: Flask and Python 3

2014-09-24 Thread Chris Angelico
On Thu, Sep 25, 2014 at 5:39 AM, Juan Christian wrote: > That's the way I always learned everything. I watch some video courses, read > a book and read the official documentation altogether. > > My way can't work for you, but for me it's excellent. And you don't even > know which video/course I'm

Re: Flask and Python 3

2014-09-24 Thread Juan Christian
On Wednesday, September 24, 2014, Chris “Kwpolska” Warrick < kwpol...@gmail.com> wrote: > Learning from videos is the worst thing you can do. Use the official > flask documentation at http://flask.pocoo.org/docs/0.10/quickstart/ — > it’s much friendlier than a video. > > Also, there is nothing to

Re: Flask and Python 3

2014-09-24 Thread Chris “Kwpolska” Warrick
On Wed, Sep 24, 2014 at 3:23 AM, Juan Christian wrote: > I didn't learn debug with Flask yet. Only in the next videos. Learning from videos is the worst thing you can do. Use the official flask documentation at http://flask.pocoo.org/docs/0.10/quickstart/ — it’s much friendlier than a video. Al

Re: Flask and Python 3

2014-09-23 Thread Juan Christian
On Tue, Sep 23, 2014 at 8:46 PM, Terry Reedy wrote: > > Did you use tabs? They are more likely to disappear than spaces. Yes, I use tabs. On Tue, Sep 23, 2014 at 9:33 PM, Jon Ribbens wrote: > > app.run(port=8000, debug=True) might've made the problem easier to find. > I didn't learn debug wit

Re: Flask and Python 3

2014-09-23 Thread Jon Ribbens
On 2014-09-23, Juan Christian wrote: > if __name__ == '__main__': > app.run(port = 8000) app.run(port=8000, debug=True) might've made the problem easier to find. -- https://mail.python.org/mailman/listinfo/python-list

Re: Flask and Python 3

2014-09-23 Thread Terry Reedy
On 9/23/2014 5:57 PM, Juan Christian wrote: On Tue, Sep 23, 2014 at 6:48 PM, John Gordon mailto:gor...@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 t

Re: Flask and Python 3

2014-09-23 Thread Juan Christian
On Tue, Sep 23, 2014 at 6:48 PM, John Gordon 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. > > {% block content %}{% endlb

Re: Flask and Python 3

2014-09-23 Thread John Gordon
In Juan Christian writes: > @app.route('/') > def index(): > return 'Hello World' As posted, your code is not indented. Is this literally how your code looks? > {% block content %}{% endlbock content %} "endlbock" is certainly a typo. > I typed everything correct,acessing http://localhost:

Flask and Python 3

2014-09-23 Thread Juan Christian
I'm following a tutorial about Flask using Python 3.4.1, but I'm getting an error with a dead simple example: generator.py: from flask import Flask, render_template app = Flask(__name__) @app.route('/') def index(): return 'Hello World' @app.route('/blog/post/') def post(): return render_tem