Join Bruce Van Horn for an in-depth discussion in this video Integrating the database script, part of Learning Python with PyCharm.
- [Narrator] Now that we've got…our database utility script ready to go,…let's switch over to our PageSpider script…and actually integrate that into the program.…Now I have some break points here…left over from our debugging exercise,…so I'll go ahead and turn that off.…And now I'll just add the code…in the main section down at the bottom.…And I'll just put a quick comment here…that says database code.…And the first thing I'll do…is I'll call this create database command…that we created earlier.…
So that's pretty simple, you just say database utilities,…except it's not here.…And that's simply because we haven't imported it yet.…So I'm just going to leave that there on line 18.…I'll go to the top of my file,…and I'm going to add…database_utilities on to the end of the import statement…on line three.…Now I need to go back to where I just was,…so I'll show you a quick, neat little trick for that.…I can go up to navigate and select back.…
And the other really cool trick here…is if you have a really nice mouse…that has those back buttons built into it,…
AuthorBruce Van Horn
- Installing the PyCharm, Git, and Pypy packages
- Adding functions
- Refactoring code
- Calling packages
- Debugging code
- Creating databases
- Working with in-line SQL
- Creating web projects with PyCharm
Skill Level Beginner
1. First Steps with PyCharm
2. Code Quality
3. Working with Databases
4. Web Projects
Odds and ends5m 42s
Next steps1m 42s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.