Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Using Databases in Python!
You have completed Using Databases in Python!
Preview
We should nail down what we want our app to do. Let's stub out most of it with comments.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
thoughts or notes, stick a time stamp on
them, and save them to a database.
0:00
I should also be able to page through all
of them in some sort of order.
0:03
I'll want to delete the ones I don't need
anymore.
0:06
And I'd love to able to search for phrases
in all of the posts.
0:08
I bet we can do all this in about 100
lines of code.
0:12
What do you think?
0:13
So, I've gone ahead, and made a file
called diary.py.
0:15
You can call this journal.py or whatever,
if you don't like the word, diary.
0:18
And again, of course, we need to import
everything from peewee.
0:24
So, from peewee, import *.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up