01 2020 档案

摘要:1.导出安装包 pip freeze > requirements.txt 2.安装requirements.txt文件中指定的扩展库:pip install -r requirement.txt 导出wheel文件,本地文件可能没有缓存,需要重新下载,使用命令 3.指定下载源安装模块:pip in 阅读全文

posted @ 2020-01-22 23:50 sdlyxyf 阅读(151) 评论(0) 推荐(0)

摘要:Python操作Oracle、MySQL、MsSQL、PostgreSql数据库: 1、模块: cx_Oracle,pymysql, pymssql,psycopg2 2、使用Python的DB-API操作关系数据库,首先需要连接到数据库,一个数据库连接称为Connection;连接到数据库后,需要 阅读全文

posted @ 2020-01-07 10:31 sdlyxyf 阅读(511) 评论(0) 推荐(0)

摘要:Python字符串格式化函数format()的使用:https://www.runoob.com/python/att-string-format.html format函数常与print()函数结合使用,具备很强的格式化输出能力。https://blog.csdn.net/lanluyug/art 阅读全文

posted @ 2020-01-03 10:43 sdlyxyf 阅读(184) 评论(0) 推荐(0)

导航