Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

alt text

Week 10

Week goal 🏁

Here you will learn about JSONs, RegEx, PIP and Try/Except

Week subtopics

  • JSONs
    • Read JSON string from file and convert it to Python Dictionary
    • Write Python Dictionary to JSON string and save it to a file
  • RegEx Multiple Matches
    • Match a string that starts with "Hello" and is followed by one or more word characters
    • Match a string that contains any number of digits followed by a space and then any number of non-digit characters
    • Match a string that contains one or more occurrences of the word "cat"
    • Match a string that starts with any number of word characters, followed by a hyphen, and ends with any number of word characters
  • PIP
    • Install a package using PIP
    • Create a requirements.txt file
    • Install dependencies from a requirements.txt file
  • Try/Except
    • Try/Except/Finally
    • Try/Except/Else
    • Raise an exception

Week challenges (Monday) 💻

  1. JSON from file to Python Dictionary
  2. Write Python Dictionary to JSON string

Week challenges (Tuesday) 💻

  1. RegEx Multiple Matches
  2. PIP Install
  3. Creating a requirements.txt File and Installing Dependencies in a Virtual Environment

Week challenges (Wednesday) 💻

  1. Create a Try/Except where code is executed if no exception is raised and regardless of whether an exception is raised or not and specifically if an exception is raised
  2. Raise a Type Exception when a function is called with a non-string argument

Mini projects 🚀

  1. Data Analysis Implementation
  2. Tic Tac Toe

Week links 🔗

Session links 🔗