Hone Your Python Skills!
Newbie Bites
Intro Bites
Regular Bites
Learning Paths
Pricing
Login
☰
☰
PyBites Platform
What to code next?
Bites of Py Exercises
Blog Code Challenges
Bite
Level
Description & Tags
Bite 166. Complete a tox ini file parser class
The INI file format is an informal standard for configuration …
classes
configparser
properties
string matching
string parsing
tox
Bite 178. Parse PyBites blog git commit log
In this Bite we want to figure out how active …
Counter
data analysis
datetime
dateutil
string parsing
Bite 179. Strip comments from Python code
In this Bite you will strip off all comments from …
comments
regular expressions
string parsing
Bite 182. Parse a bunch of quotes from HTML
Let's get some inspiration. Below you find the simplified HTML …
dict
regular expressions
string manipulation
string parsing
Bite 198. Calculate my Mac's longest uptime
Given the following output, calculate the longest uptime / time …
data wrangling
datetime
dateutil
string parsing
Bite 225. Swap case PyBites characters
In this Bite you will swap case all pybites characters …
looping
string manipulation
string parsing
Bite 226. Get top titles from news.python.sc
There is a new Python news aggregator in town! Check …
beautifulsoup
namedtuple
news
requests
sorting
string parsing
web scraping
Bite 232. Analyze gold prices
In this Bite you will analyze how the price of …
comparison
data analysis
looping
pandas
sorting
string parsing
Bite 234. Capitalize sentences
In this Bite you are going to capitalize sentences in …
regular expressions
string manipulation
string matching
string parsing
Bite 235. Which Bite has the fastest tests?
In this Bite you will parse a pytest output summary, …
sorting
string parsing
type casting
Bite 244. Make mutpy's output more digestible
Another real world scenario. When we started using MutPy for …
data wrangling
looping
mutpy
string matching
string parsing
Bite 257. Extract users dict from a multiline string
A quick Bite to practice some string parsing extracting a …
dict
string parsing
Bite 275. Get the most common email domains
In this Bite you will process a list of emails …
Counter
requests
set
string parsing
web scraping
Bite 276. Get Father's days by date and country
Happy belated Father's day (unless you are in Australia or …
dateutil
string manipulation
string parsing
Bite 285. Nested List Extraction
Sometimes dealing with data can be a real struggle. Sometimes …
data structures
string parsing
Bite 290. Class Rosters Data Conversion
You have been given a comma-delimited .csv file containing class …
csv
string parsing
tuple unpacking
Bite 305. Split once, delimit many
Write a function that accepts a string and splits the …
looping
split
string parsing
Bite 321. Magic bytes
Magic numbers are bytes that can be used to uniquely …
bytes
csv
exception handling
file processing
images
string parsing
PCC
Title
Summary
No matching Challenges found.
We use Python 3.8