From the course: Using SQL with Python

Unlock the full course today

Join today to access over 23,300 courses taught by industry experts.

Solution

Solution

(upbeat music) - Let's take a look at my solution for the challenge. Keep in mind that your solution may be different and that's fine. This is zero three solution.py from chapter three of the exercise files. And you'll notice that this solution looks very much like my solution for the previous challenge. In this case, there's no need to create or destroy a table. You notice that I'm initializing the database with dot slash data slash JURL dot db. That's the database for our jump URL application. I have a simple menu, add, find, edit, list, delete and quit. And if I go ahead and run this, you see that this works just like our other cred application. In fact, most cred applications work pretty much the same, don't they? And so I can list domains. You see we have the same domains that we had in our web interface. I can add a domain, the short name, we'll call this one GGL for Google. And I'll put HTTPS colon slash…

Contents