12_09、一些常用配置
一、国际化
LANGUAGE_CODE = 'zh-hans'
TIME_ZONE = 'Asia/ShangHai'
USE_I18N = True
USE_L10N = True
USE_TZ = False
二、国内镜像源
1.阿里云:https://mirrors.aliyun.com/pypi/simple/
2.豆瓣:https://pypi.douban.com/simple/
3.清华大学:https://pypi.tuna.tsinghua.edu.cn/simple/
4.中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
5.华中理工大学:http://pypi.hustunique.com/
6.山东理工大学:http://pypi.sdutlinux.org/
# 利用镜像源快速安装第三方库 pip3 install 库 -i 国内源
三、参数类型
# 传入的形参m必须是int类型, # 传入的形参n必须是str类型, # 返回的值必须是str类型 def add(m: int, n: str) -> str: pass
 
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号