GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Python_Learn/Python_Operrate_Database at master · enjoyableprogram/Python_Learn

Expand file tree

/

Python_Operrate_Database

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

Python_Operrate_Database

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
demo.py
demo.py
 
 

README.md

Python 操作数据库

在我们的 python 中实现操作数据库的方法含有:

使用第三方库实现操作数据库: pymysql | mysql-connector

pip install pymysql

原生sql 语句的书写

在我们操作数据库的时候,一定要注意一点,主要对数据库进行了数据的改动,一定要提交事务上去(commit),否则就会失效

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.