Join Joe Marini for an in-depth discussion in this video Working with calendars, part of Up and Running with Python.
Alright, let's wrap up this chapter by taking a look at few examples of how to…work with calendars in Python. Again, this is going to come up from time…to time, you'll have to work not just with dates and times, you'll have to work with calendars.…And Python's library provides a couple of useful utilities for working with…calendars in both text and HTML formats. So, I've scrolled down here in my snippets…to the calendars section, let's open up calendars_start.py.…So, let's begin by copying and pasting the import calendars statement.…
So, notice how this is a little bit different then what you see me doing in…the past couple of examples, I'm not saying from module import something.…In this case, I'm going to say import calendar, because I want to import all of…the features that Python provides with the calendar class.…So, I'm not selecting any particular classes I want to work with, I just want…all of them. So, I'm going to save that.…Okay, let's go back to the snippets. Let's start off by just creating a plain…
- Installing Python
- Choosing an editor/IDE
- Working with variables and expressions
- Writing loops
- Using the date, time, and datetime classes
- Reading and writing files
- Fetching Internet data
- Parsing and processing HTML
Skill Level Beginner
1. Preparing the Development Environment
2. Python Basics
3. Working with Dates and Times
4. Working with Files
5. Working with Web Data
- 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.