Join Bruce Van Horn for an in-depth discussion in this video Calling the url_utilities package, part of Learning Python with PyCharm.
- [Instructor] Now that our url utilities script…is finished, let's take it for a test drive.…Let's switch back over to our page spider script.…I happen to have it open here.…If you need to open it, of course,…you can double click it right here in the hierarchy as well.…Right now the only thing going on…in our main function here on line five,…is that we're printing out whatever gets passed in…on the command line parameters.…So let's add some more code to this,…and let's call some of the methods we created…in the url utilities script.…Remember our objective here is to parse out all of the words…that are in the HTML content that we're going…to be reading from a text file,…which we'll create here in just a moment.…
But let's go ahead and add the code…that actually does this first.…So I'm going to add all of these to a big word list,…and later we're going to save this into a database.…I'll call my variable big word list,…and I'll just set it to an empty array for now.…Next I'll come down to line nine,…and here I'm going to invoke the url utilities script…
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.