Skip to content

Repository files navigation

playwright-python

Description

This is a Python project, dedicated to enhancing my learnings for Python. In particular this project is to go through the Python Tutorials in Python Crash Course 3rd Edition.

Requirements

Installing Dependencies and Dummy Run

This Python project assumes your using a virtual environment. After cloning this project, from the root directory you will need to:

  1. Set up a local virtual environment
python3 -m venv venv
  1. Activate it
source venv/bin/activate
  1. Install the required dependencies
pip install -r requirements.txt
  1. Run the example script to make sure it's working
python chapter_01/hello_world.py
  1. Deactivate the virtual environment
deactivate

If you were able to run hello_world.py inside the chapter_01 folder then you should be good to run all other examples in this project. Remember that you're output should look something like this:

(venv) ➜  python-crash-course git:(main) ✗ python chapter_01/hello_world.py 
Hello world

Note that you should be seeing the (venv) since your using a virtual environment.

Learning Notes - Part I

Chapter Title Learning Notes
1 Getting Started Installing and Hello world program
2 Variables and simple data types Strings, numbers and comments
3 & 4 Lists Lists, for loops
5 If Statements If, if else and else statements
6 Dictionaries Dictionaries, list of dictionaries, dictionaries of dictionaries
7 User Input and While Loops User input, while loops, casting to Int
8 Functions Functions, return functions, default values, argument order
9 Classes Classes, Inheritance, Encapsulation
10 Files and Exceptions Catching exception, reading and writing to files
11 Testing with Pytest Testing functions and classes with Pytest

Learning Notes - Part II

Chapter 12

Chapter Title Learning Notes
12 Pending -

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages