Skip to content

Instantly share code, notes, and snippets.

View vblackburn0305's full-sized avatar

Vincent Blackburn vblackburn0305

View GitHub Profile
Part 1:
<def throw_me_an_error():
try:
val1 = 14
val2 = 0
return val1 / val2
except ZeroDivisionError as e:
print(f"Error occurred: {e}")
throw_me_an_error()>
Section 1:
- Query 1:
{
"rated": "R",
"genres": "Sci-Fi",
"cast": "Arnold Schwarzenegger",
"awards.wins": { "$gt": 0 },
"fullplot": { "$regex": "hunt", "$options": "i" },
"imdb.rating": { "$gt": 6 },
"metacritic": { "$lt": 40 }
CREATE TABLE tracking (
id INTEGER PRIMARY KEY AUTOINCREMENT,
file VARCHAR(50) NULL,
owner VARCHAR(30) NULL,
updated DATE NULL,
step INT NULL,
source VARCHAR(30) NULL
);
PRAGMA table_info(tracking);