Creating a database, table, and inserting - SQLite3 with Python 3 part 1

Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=o-vsdfCBpsU



Duration: 10:59
374,342 views
3,930


Welcome to an SQLite mini-series! SQLite, as the name suggests, is a lite version of an SQL database. SQLite3 comes as a part of the Python 3 standard library.

Databases offer, typically, a superior method of high-volume data input and output over a typical file such as a text file. SQLite is a "light" version that works based on SQL syntax. SQL is a programming language in itself, but is a very popular database language. Many websites use MySQL, for example.

SQLite truly shines because it is extremely lightweight. Setting up an SQLite database is nearly instant, there is no server to set up, no users to define, and no permissions to concern yourself with. For this reason, it is often used as a developmental and protyping database, but it can and is used in production. The main issue with SQLite is that it winds up being much like any other flat-file, so high volume input/output, especially with simultaneous queries, can be problematic and slow. You may then ask, what really is the difference between a typical file and sqlite. First, SQLite will let you structure your data as a database, which can easily be queried, so you get that functionality both with adding new content and calling upon it later. Each table would likely need its own file if you were doing plain files, and SQLite is all in one. SQLite is also going to be buffering your data. A flat file will require a full load before you can start querying the full dataset, SQLite files don't work that way. Finally, edits do not require the entire file to be re-saved, it's just that part of the file. This improves performance significantly. Alright great, let's dive into some SQLite.

https://pythonprogramming.net/sql-database-python-part-1-inserting-database/

Playlist: https://www.youtube.com/playlist?list=PLQVvvaa0QuDezJh0sC5CqXLKZTSKU1YNo

https://pythonprogramming.net
https://twitter.com/sentdex
https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex




Other Videos By sentdex


2016-01-26Beginning Blog - Django Web Development with Python 6
2016-01-24Passing variables from python to html - Django Web Development with Python 5
2016-01-22Bootstrap HTML CSS - Django Web Development with Python 4
2016-01-21Jinja Templating - Django Web Development with Python 3
2016-01-20Creating App - Django Web Development with Python 2
2016-01-19Introduction - Django Web Development with Python 1
2016-01-17UPDATE and DELETE - SQLite3 with Python 3 part 5
2016-01-17Graph from database table example - SQLite3 with Python 3 part 4
2016-01-17Read from (SELECT) Database table - SQLite3 with Python 3 part 3
2016-01-17Inserting variables to database table - SQLite3 with Python 3 part 2
2016-01-17Creating a database, table, and inserting - SQLite3 with Python 3 part 1
2016-01-11Haar Cascade for image & video object classification - OpenCV w/ Python for Image Video Analysis 21
2016-01-11Training Haar cascade object detection - OpenCV with Python for Image and Video Analysis 20
2016-01-11Cleaning images and creating description files - OpenCV with Python for Image and Video Analysis 19
2016-01-11Gathering Images for Haar Cascade - OpenCV with Python for Image and Video Analysis 18
2016-01-11Making your own Haar Cascade Intro - OpenCV with Python for Image and Video Analysis 17
2016-01-10Haar Cascade Object Detection Face & Eye - OpenCV with Python for Image and Video Analysis 16
2016-01-09MOG Background Reduction - OpenCV with Python for Image and Video Analysis 15
2016-01-08Feature Matching (Homography) Brute Force - OpenCV with Python for Image and Video Analysis 14
2016-01-07Corner Detection - OpenCV with Python for Image and Video Analysis 13
2016-01-04GrabCut Foreground Extraction - OpenCV with Python for Image and Video Analysis 12



Tags:
sqlite
python
sqlite3
database
table
programming