In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to get started with Flask. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Flask
That is, a framework of the Python language that is very popular at the moment.
To play flask, you first need to have a virtual environment, that is, your web running environment. Of course, this time we will introduce how to play under windows, and we will tell you how to play Linux in the next section.
(1) first of all, go to the official website to download python, right?
Https://www.python.org/
(2) Click the next step and follow the meeting. Of course = you have to select the second check box above (demo use, picture source online, the version is a little low, and install the high version by yourself), so that you can cmd directly under windows and type python. If you have no choice, please put the execution program into your system path.
(3) the installation is successful by executing the following
(4) next we install a virtual environment and execute
(5) then execute pipenv install
(6) install flask pipenv install flask
The above create a directory on your computer to install
The next step is to activate your environment.
Pipenv shell
Ok, we have basically installed our runtime environment above, and then we will begin to edit our code
Our test run code is that simple, and of course we should note that when you use PyCharm to edit the code, we have to choose the runtime environment that we installed.
The above content is how to get started with Flask. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.