Looking for Python Fundamentals test answers and solutions? Browse our comprehensive collection of verified answers for Python Fundamentals at softserve.academy.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
In root folder of project two files are located. There are helloFile.txt with some text and main.py with the next script.
What we obtain as result of script execution?
In root folder of project only one file is located. It contains the next script
What we obtain as result of its execution?
In root folder of project two files are located. There are helloFile.txt with some text and main.py with the next script.
What we obtain as result of script execution?
In root folder of project only one file is located. It contains the next script
What we obtain as result of its execution?
What is virtual environment?
What is Flask?
What is app.config['SQLALCHEMY_DATABASE_URI'] used for?
In Flask, we can use two Route URLs that has the same name
@app.route('/edit', methods=['GET','POST'])
def FirstEdit():
return 'First Edit'
@app.route('/edit', methods=['GET','POST'])
def SecondEdit():
return 'Second Edit'
In flask, we can have two view functions with the same name.
@app.route('/edit')
def show():
return 'edit post'
@app.route('/show')
def show():
return 'show post'
In flask, we can have more than one url routes for one function.