python学习
Distiny`~
IS SJTUer
展开
-
Pycharm+Django环境配置问题
出现情况 Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'C:\Users\xxxx\PycharmProjects\djangoProject\venv\Scripts\python.exe'. 背景是这样的,我的电脑上面一直由python的配置环原创 2021-10-03 22:49:55 · 384 阅读 · 0 评论 -
【Python笔记】str.format整理
字符串类型的格式化 一. format()基本格式 //“ {<参数序号>:<格式控制>}{<参数序号>:<格式控制>...}”.format(<参数1,参数二>...) 举例: // #e4.1TextProgress Bar.py import time scale = 20 print("------执行开始------") for i in range(scale+1): a, b = '**' * i,'..' * (scale原创 2021-02-03 10:34:22 · 203 阅读 · 0 评论