Browse Source

how do i run this?

master
Julio Biason 11 years ago
parent
commit
e05aa7e557
  1. 24
      flask.html

24
flask.html

@ -697,6 +697,30 @@ def list():
</code></pre></p> </code></pre></p>
</section> </section>
</section> </section>
<section>
<section>
<h2>Executando</h2>
</section>
<section>
<p>Flask vem com um servidor de desenvolvimento integrado.
Para utilizar:</p>
<p><pre><code data-trim>
app.run()
</code></pre></p>
</section>
<section>
<p>Ou ainda:</p>
<p><pre><code data-trim>
if __name__ == '__main__':
app.run()
</code></pre></p>
</section>
</section>
<section> <section>
<section> <section>

Loading…
Cancel
Save