了解如何通过Python使用SQLite数据库
SQLite is a very easy to use database engine included with Python. SQLite is open source and is a great database for smaller projects, hobby projects, or testing and development.
SQLite是Python附带的非常易于使用的数据库引擎。 SQLite是开源的,是用于小型项目,业余项目或测试和开发的强大数据库。
We've released a full video course to help you learn the basics of using SQLite3 with Python. You’ll learn how to create databases and tables, add data, sort data, create reports, pull specific data, and more. The course is taught by John Elder from Codemy.com.
我们已经发布了完整的视频课程,以帮助您学习将SQLite3与Python结合使用的基础知识。 您将学习如何创建数据库和表,添加数据,对数据进行排序,创建报告,提取特定数据等等。 该课程由Codemy.com的John Elder教授。
For this course you should already have a basic knowledge of Python programming, but you don’t need to know anything at all about databases or SQLite.
对于本课程,您应该已经具有Python编程的基本知识,但是您完全不需要了解数据库或SQLite。
In this course, you will learn:
在本课程中,您将学习:
- what is a database 什么是数据库
- how to install Python 如何安装Python
- how to install git bash terminal 如何安装git bash终端
- how to use sqlite in a Python program 如何在Python程序中使用sqlite
- how to connect to database in Python 如何在Python中连接数据库
- how to create a database 如何创建数据库
- how to create a table 如何建立表格
- how to insert one record into table 如何在表中插入一条记录
- how to insert many records into table 如何在表中插入许多记录
- understanding data types 了解数据类型
- how to select data from table 如何从表中选择数据
- how to format your results 如何格式化结果
- how to use the where clause 如何使用where子句
- how to use the like clause and wildcards 如何使用like子句和通配符
- how to use AND and OR 如何使用AND和OR
- how to update records 如何更新记录
- how to limit and order results 如何限制和订购结果
- how to delete records 如何删除记录
- how to delete (drop) a table and backups 如何删除(删除)表和备份
- and more! 和更多!
At the end of the course you will learn how to build a very basic app to help reinforce all the things from the course.
在课程结束时,您将学习如何构建一个非常基本的应用程序,以帮助强化课程中的所有内容。
You can watch the video course below or on the freeCodeCamp.org YouTube channel (1.5 hour watch).
您可以在下面或在freeCodeCamp.org YouTube频道上观看视频课程(观看1.5小时)。
翻译自: https://www.freecodecamp.org/news/using-sqlite-databases-with-python/
- 如何通过Python来使用AWS Athena服务
- 通过了解用户如何使用产品来聚焦测试
- 使用 Python 和 Oracle 数据库实现高并发性 了解如何借助线程和并发性提升支持 Oracle 数据库的 Python 应用程序的吞吐量和响应性。
- python变量的定义及使用、如何查看简单的报错消息、初步了解字符串
- ZODB入门 -- 如何通过面向对象的动态语言 Python 使用对象数据库
- python - 如何通过GMail发送邮件:smtplib的使用
- caffe学习:通过研读classification.cpp了解如何使用caffe模型
- 如何使用python来模拟鼠标点击(将通过实例自动化模拟在360浏览器中自动搜索"python")
- 作为一个使用Python的Web工程师,你必须从全局了解浏览器是如何与服务器互联的
- 通过实例了解如何使用js获取下拉列表框内的值
- Python中Sqlite的使用&ORM的使用&如何通过code初始化DB
- 本章通过先总体介绍UICollectionView及其常用方法,再结合一个实例,了解如何使用UICollectionView
- python - 如何通过GMail发送邮件:smtplib的使用
- Python:如何使用SQLite数据库
- 构建简单的 C++ 服务组件,第 2 部分: 通过服务组件体系结构使用 Python、Ruby 和 Web 服务
- 通过dnn了解membership的使用
- 如何通过了解Windows Tracert输出修复网络连接故障
- 如何通过使用注册项 (.reg) 文件添加、修改或删除注册表子项和值
- 如何通过使用 ADO.NET 2005 和 Visual C# 2005 或使用 ADO.NET 和 Visual C# .NET 连接到数据库并运行命令
- 通过了解MySpace的六次重构经历,来认识分布式系统到底该如何创建