50

flask教程之创建第一个flask应用-挨踢学霸

 6 years ago
source link: http://blog.51cto.com/12482328/2074375
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
开发工具:pycharm打开pycharm,选择新建项目,选择flask项目点击“create”,弹出窗口中选择“在新窗口中打开”点击“确定”,进入项目窗口可以看到pycharm默认生成了一个python项目目录,同时生成了一个code.py文件点击pycharm右上角的运行按钮,可直接运行flask项目Flask运行的时候,会在pycharm的控制台看到运行的log提示点击控制台中的url地址,

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK