Join Bruce Van Horn for an in-depth discussion in this video URL utility code, part of Learning Python with PyCharm.
- [Instructor] Let's do some work on our URL…utilities file.…I'm going to double click it over here to open it.…And let's start dealing with some of these to dos.…So as I write code in this file,…I'm going to make a few mistakes along the way…so that you can really exercise your newfound knowledge…with respect to the way Lens mode works and the lenter…and errors in general and just really hopefully get a feel…for what it's like to work in PyCharm.…So let's go ahead and get rid of these first two lines…and of course that's going to anger it immediately…bwcause now we don't have a valid function,…it's going to give me that red squiggly line there on line five…but that's okay, it'll go away…as soon as we start entering some code.…
So for this one we're going…to actually load some URLs from a text file.…So this is some pretty straight forward stuff…and Python will do a try…and it'll say with open file…as f and I'll read the contents of the file in…to a variable called content.…And then once that's done I'll go ahead…
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.