Jose: Hi guys, and welcome back.
In this video we're going to look
at the starter code for this application.
When developing text based applications,
we're often gonna have similar parts to other
text based applications, and that's because
a lot of these applications need user menus,
and they need to ask for input.
And so that's why for this project
we're gonna provide a little bit of code
to get you started, since it's a bit similar
to the last project.
So here is what we've got:
We've got an import to database.py,
a file which at the moment doesn't exist,
but we're gonna create.
We've got the menu, where users can add movies,
view movies, view all movies,
watch a movie, or view watched movies.
Then we've got the welcome screen
that we print immediately after.
We go ahead and call database.create_tables,
so we know this is a function that we're gonna
have to have in here, in order to create the tables
that our app needs.
And finally we have our menu that looks very much like
the one in the previous application.
We've got our user input there,
it's not equal to six for exit,
and then we've got our different branches
of the if statement.
So I just wanted to show you this code real quick,
before we delve into database.py,
which is where the focus of this section
is gonna be of course.
And we're gonna start working on those queries
and the functions that we need there.
But for now, just know that we've got
these if statements here,
and that's how the menu is gonna run,
just like in the previous application.
All right guys, thank you for watching,
I'll see you in the next video.