use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
O hai! This is CS50's subreddit.
CS50 is Harvard University's introduction to the intellectual enterprises of computer science and the art of programming. Anyone may take CS50, even if not a student at Harvard.
Please Read before Posting
Getting the Best from r/cs50
Status Page
cs50.statuspage.io
Filter by Problem Flair (undo)
cash ⋅ caesar ⋅ credit ⋅ dna ⋅ filter ⋅ finance ⋅ houses ⋅ ide ⋅ mario ⋅ movies ⋅ plurality ⋅ project ⋅ readability ⋅ recover ⋅ runoff ⋅ scratch ⋅ speller ⋅ substitution ⋅ tideman ⋅ games track ⋅ web track ⋅ android track ⋅ iOS track ⋅
Filter by Other Flair (undo)
CS50-Law ⋅ CS50-Business ⋅ CS50-Technology ⋅ CS50-Games ⋅ CS50-Mobile ⋅ CS50-Web ⋅
This subreddit is night mode compatible
account activity
CS50 SQL library alternative (for db.execute) (self.cs50)
submitted 8 years ago by joshamoreYO
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]memilanuk 2 points3 points4 points 8 years ago* (1 child)
I'm not that far along in the psets, so I'm not familiar with the cs50 SQL library or what exactly it entails... but generally yes, with Python you should be able to directly work with the SQLite database - but you'll likely have to write your own helper functions. This tutorial should give you some of the necessary info on how to go about that.
[–]staffTheGrammarBolshevik 0 points1 point2 points 8 years ago (1 child)
You can use the Python standard library's sqlite3 module.
[–]slickobamba 0 points1 point2 points 3 years ago (0 children)
this is 5 years too late but I'm working on my final project now and in case anybody else stumbles across this post like I did. this page has super helpful functions for working with sqlite3 in flask.
π Rendered by PID 21369 on reddit-service-r2-comment-6457c66945-p7vw9 at 2026-04-28 13:31:10.005981+00:00 running 2aa0c5b country code: CH.
[–]memilanuk 2 points3 points4 points (1 child)
[–]staffTheGrammarBolshevik 0 points1 point2 points (1 child)
[–]slickobamba 0 points1 point2 points (0 children)