![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
Ice诚
php,java,OC,Swift,android,linux,运维
展开
-
Linux下安装PyMysql报错
使用pip安装pymysql时出现如下错误:Could not find a version that satisfies the requirement cryptography (from pymysql) (from versions: )No matching distribution found for cryptography (from pymysql)主要原因是网络的问题,需...原创 2019-12-06 10:55:55 · 440 阅读 · 0 评论 -
Linux安装Python3.8.0
安装Python3.81.安装依赖yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel2.下载Python3.8wget https://www.pyt...原创 2019-12-05 17:53:26 · 812 阅读 · 0 评论 -
Python执行数据库脚本
Python执行sql脚本#!/usr/bin/env python3# coding: utf-8import pymysql try: conn = pymysql.connect("127.0.0.1", "root", "root", "test") cur = conn.cursor() with open('test.sql',encoding='u...原创 2019-12-05 17:13:53 · 797 阅读 · 0 评论