3、Ubuntu 安装python Mysql交互模块pymysql

pymysql是Python用来连接mysql数据库的模块

打开Ubuntu终端输入已下安装代码:

step1. 安装pip3

step2.安装pymysql

step3.打开Python 引入pymysql模块 

            1.python

            2.import pymysql 或     from pymysql import * 加载模块 

你可能感兴趣的:(python,mysql,ubuntu,pip,anaconda)