![]() |
Python is known for its vast collection of libraries and frameworks and when we talk about web development in Python programming language Flask comes into mind. Flask is a micro-framework in Python used to build and manage the server-side logic of web applications and APIs. In this article, we will see how to update Flask in Python. Pre-Requisite Check the Current Version of Flask in PythonTo check the current version of Flask in Python we have to run a command given below: pip show flask Output: In the above output we can see the current version of the flask installed in the system. Upgrade the Version of Flask in PythonNow, at this time the latest version of flask is Flask 3.0.0 so, we are going to upgrade the current version of flask to latest one. To upgrade the flask version we are going to execute below command and then again check the current version of flask in our system: pip install --upgrade Flask Output: In the below output, we can see that the version of Flask is upgraded to the latest version. Advantages of Python Flask Over Other Framework
|
Reffered: https://www.geeksforgeeks.org
Geeks Premier League |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 10 |