Bite 366. Goal Tracker
|
|
In this Bite, you build a function that tells you …
3.10
date
datetime
tuple unpacking
|
|
Bite 28. Converting date strings to datetimes
|
|
In this Bite you are provided with a list of …
3.10
Counter
datetime
findall
|
|
Bite 92. Humanize a datetime
|
|
In this Bite you will convert a timedelta object into …
3.10
datetime
namedtuple
|
|
Bite 135. Sort a list of book objects
|
|
In this Bite you are going to look at a …
3.10
attrgetter
datetime
lambda
list
namedtuple
operator
sorting
|
|
Bite 139. Calculate a coding streak in days
|
|
In this Bite you are going to calculate the amount …
3.10
datetime
string manipulation
timedelta
|
|
Bite 51. When does Python 2 die on Planet Miller?
|
|
Imagine you landed on Planet Miller (from the movie Interstellar) …
3.10
datetime
|
|
Bite 144. Calculate the Number of Months Passed
|
|
Some more fun working with dates! In this Bite you …
3.10
datetime
dateutil
exception handling
|
|
Bite 147. 100 WEEKDays of Code Date Range
|
|
Doing a #100DaysOfCode can be challenging, and some of it …
3.10
datetime
dateutil
|
|
Bite 151. Contemporary Composers
|
|
You are given a list of operas and a list …
3.10
datetime
dict
exception handling
generators
namedtuple
|
|
Bite 219. Bite notification planner
|
|
Another real world use case. When we added notifications to …
3.10
datetime
generators
|
|
Bite 233. Make a zipfile of the latest log files
|
|
You added some monitoring the other day writing log files …
3.10
datetime
os module
pathlib
zipfile
|
|
Bite 197. What date is Mother's Day celebrated?
|
|
It's the 12th of May 2019 when we write this …
3.10
datetime
dateutil
|
|
Bite 283. Like there's no tomorrow?
|
|
Ever have difficulty remembering what today's date is? How about …
3.10
datetime
|
|
Bite 237. Get the dates Ninja belts were earned
|
|
Another real-world scenario: in this Bite you will parse a …
3.10
datetime
json
looping
pandas
sorting
|
|
Bite 39. Calculate the total duration of a course
|
|
In this Bite you read in a text file with …
3.10
datetime
findall
numbers
timedelta
|
|
Bite 178. Parse PyBites blog git commit log
|
|
In this Bite we want to figure out how active …
3.10
Counter
data analysis
datetime
dateutil
string parsing
|
|
Bite 198. Calculate my Mac's longest uptime
|
|
Given the following output, calculate the longest uptime / time …
3.10
data wrangling
datetime
dateutil
string parsing
|
|
Bite 291. Find the fastest speech
|
|
In this Bite you will parse an SRT (SubRip Subtitle …
3.10
datetime
sorting
string manipulation
|
|
Bite 301. Exchange rates
|
|
In this Bite you have to provide the currency exchange …
3.10
datetime
dict
sorting
|
|
Bite 242. Zodiacal data parsing
|
|
In this Bite we will write tests for a module …
3.7
datetime
fixtures
pytest
|
|
Bite 316. To rent or to stream movies?
|
|
You're on a movie budget so you want to evaluate …
3.10
collections
datetime
dict
typing
|
|
Bite 300. 🥳 PTO Calculator
|
|
We've all been affected by COVID-19 in one way or …
3.10
calendar
datetime
exception handling
looping
numbers
string formatting
|
|
Bite 350. Learn to handle cron schedule expressions
|
|
Let your mind wander and tell us what you think …
3.10
crontab
dataclasses
datetime
exception handling
iteration
|
|
Bite 322. Reading progress
|
|
Happy New Year! How many books do you aim to …
3.10
datetime
numbers
|
|
Bite 16. PyBites date generator
|
|
Write a generator that returns every 100th day counting forward from …
3.10
datetime
generators
|
|
Bite 7. Parsing dates from logs
|
|
In this Bite we will look at this short server …
3.10
datetime
file processing
|
|
Bite 19. Write a property
|
|
Write a simple Promo class. Its constructor receives two variables: …
3.10
datetime
properties
|
|
Bite 35. Having fun with heapq
|
|
In this Bite you are provided with 3 data structures: …
3.10
datetime
heapq
|
|
Bite 67. Working with datetimes
|
|
This Bite involves solving two problems using datetime: We kicked …
3.10
datetime
timedelta
|
|
Bite 141. Primitive date format inferrer
|
|
Complete the get_dates method given the following: a listing of …
3.10
classmethod
datetime
enum
exception handling
|
|
Bite 128. Work with datetime's strptime and strftime
|
|
In this Bite you get some more practice with datetime's …
3.10
datetime
strftime
strptime
|
|
Bite 173. Set up future notifications
|
|
Let's do another datetime processing Bite. Complete add_todo below that …
3.10
datetime
findall
f-strings
timedelta
|
|
Bite 175. Find missing dates
|
|
Complete get_misssing_dates that takes an (unordered) sequence of datetime.date objects. …
3.10
datetime
dateutil
pandas
|
|
Bite 186. Calculate number of books to have read at date ...
|
|
For this Bite you are asked to start working on …
3.10
datetime
dateutil
exception handling
|
|
Newbie Bite 35. Working With Dates
|
|
In this bite, we are going to explore the datetime module …
3.10
datetime
imports
modules
newbie
|
|
Bite 187. Actor/actress age at movie release
|
|
Ever wondered how old an actor/actress was in a particular …
3.10
dataclasses
dateutil
f-strings
|
|
Bite 276. Get Father's days by date and country
|
|
Happy belated Father's day (unless you are in Australia or …
3.10
dateutil
string manipulation
string parsing
|
|
Bite 75. Parse Unix cal to a weekday mapping
|
|
In the last bite we return the weekday from a …
3.10
re
Unix
zip
|
|
Bite 83. At what time does PyBites live?
|
|
Get to know pytz! pytz brings the Olson tz database …
3.10
pytz
timezones
|
|
Bite 95. Subclass the dict built-in
|
|
In this Bite you will subclass the dict built-in to …
3.10
classes
inheritance
|
|
Bite 145. Record Breakers
|
|
The data for this challenge comes from a subset of …
3.10
csv
data analysis
pandas
|
|
Bite 215. Validate a license key
|
|
Complete the validate_license function writing a regular expression that matches …
3.10
bool
regular expressions
|
|
Bite 229. Scrape best programming books
|
|
For this bite, you are going to scrape the books …
3.10
beautifulsoup
books
classes
data cleaning
data wrangling
sorting
web scraping
|
|
Bite 256. Scrape PyCon events
|
|
In this Bite, we want you to scrape PyCon 2019 …
3.10
beautifulsoup
data analysis
json
namedtuple
pycon
requests
web scraping
|
|
Bite 340. Update and delete food objects
|
|
Now that we're able to create and retrieve Food objects, …
3.10
FastAPI
freebie
|
|
Bite 364. Create Wikipedia Lorem Ipsum text
|
|
Lorem Ipsum is text used to demonstrate layout in documents …
3.10
beautifulsoup
list comprehensions
random
regular expressions
requests
|
|
Bite 367. Add Pi Day to the calendar
|
|
Python has a brilliant but often overlooked module called calendar. …
3.10
calendar
tuple unpacking
|
|
Bite 372. Validate Pangram
|
|
A pangram, according to the Oxford English Dictionary, is a …
algorithms
hashing
string
strings
|
|
Newbie Bite 36. Working With dates - part 2
|
|
In this Bite, we are going to continue working with …
3.10
imports
modules
newbie
|
|