Skip to content
#

start

Here are 177 public repositories matching this topic...

PyDever
PyDever commented Apr 23, 2018

Integers are currently not interpreted as integers.



from flask import Flask 
import cookie

app = Flask(__name__)

@app.route('/')
def home_page ():
	return "Hello, world!"

@cookie.cookie
def run (port=None):
	app.run(debug=True, port=port)

if __name__ == "__main__":
	run() 

the above snippet WILL NOT WORK unless you first
convert port to an integer using int()

enhancement help wanted good first issue question

Improve this page

Add a description, image, and links to the start topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the start topic, visit your repo's landing page and select "manage topics."

Learn more