# Flask Library ## `import flask` To run your flask server you will have to include the following in your file, or your server file ``` from flask import Flask app = Flask(__name__) [Insert actual code here that you want to run ] if __name__=="__main__" ``` To open up debug mode - that is so the server restarts every time you change the source code ``` export FLASK_APP=[name of the file].py export FLASK_DEBUG-1 export FLASK_RUN_PORT_0 python3 -m flask run ```