← Winnitude! Search  ·  Reader Mode (723 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 129 LINKS

GitHub - jerry-git/learn-python3: Jupyter notebooks for teaching/learning Python 3

Repository navigation

learn-python3
Public

About

Jupyter notebooks for teaching/learning Python 3

Topics

jupyter-notebook learning-python python-exercises python3 teaching-materials

Resources

Readme MIT license

Contributing

Contributing Activity

Stars

6.9k stars

Watchers

265 watching

Forks

1.8k forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


144 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.github/ workflows .github/ workflows    
notebooks notebooks    
scripts scripts    
.gitattributes .gitattributes    
.gitignore .gitignore    
.pre-commit-config.yaml .pre-commit-config.yaml    
CONTRIBUTING.md CONTRIBUTING.md    
LICENSE LICENSE    
README.md README.md    
_config.yml _config.yml    
dev-requirements.txt dev-requirements.txt    
logo.png logo.png    
pytest.ini pytest.ini    

Repository files navigation

Learn Python 3

Introduction

This repository contains a collection of materials for teaching/learning Python 3 (3.10+).

Requirements

  • Have Python 3.10 or newer installed. You can check the version by typing python3 --version in your command line. You can download the latest Python version from here .
  • Have Jupyter Notebook installed . pip install jupyter is sufficient in most cases.

If you can not access Python and/or Jupyter Notebook on your machine, you can still follow the web based materials. However, you should be able to use Jupyter Notebook in order to complete the exercises.

Usage (locally)

  1. Clone or download this repository.
  2. Run jupyter notebook command in your command line in the repository directory.
  3. Jupyter Notebook session will open in the browser and you can start navigating through the materials.

Usage (Binder in the cloud)

You can also just use Binder: By clicking of this badge, the project is opened in a Jupyter instance in the cloud and you can then navigate to the folders containing the notebooks and start them each and interactively explore them!

Contributing

See contributing guide.

Beginner

  1. Strings [notebook] [exercise]
  2. Numbers [notebook] [exercise]
  3. Conditionals [notebook] [exercise]
  4. Lists [notebook] [exercise]
  5. Dictionaries [notebook] [exercise]
  6. For loops [notebook] [exercise]
  7. Functions [notebook] [exercise]
  8. Testing with pytest - part 1 [notebook] [exercise]
  9. Recap exercise 1 [exercise]
  10. File I\O [notebook] [exercise]
  11. Classes [notebook] [exercise]
  12. Exceptions [notebook] [exercise]
  13. Modules and packages [notebook]
  14. Debugging [notebook] [exercise]
  15. Goodies of the Standard Library - part 1 [notebook] [exercise]
  16. Testing with pytest - part 2 [notebook] [exercise]
  17. Virtual environment [notebook]
  18. Project structure [notebook]
  19. Recap exercise 2 [exercise]

Intermediate

Idiomatic Python

Python is a powerful language which contains many features not presented in most other programming languages. Idiomatic section will cover some of these Pythonic features in detail. These materials are especially useful for people with background in other programming languages.

  1. Idiomatic loops [notebook]
  2. Idiomatic dictionaries [notebook]
  3. Idiomatic Python - miscellaneous part 1 [notebook]
  4. Idiomatic Python - miscellaneous part 2 [notebook]
  5. Idiomatic Python exercise [exercise]

Step up your pytest game

  1. Efficient use of fixtures [notebook]

Best practices

A list of best development practices for Python projects. Most of the practices listed here are also applicable for other languages, however the presented tooling focuses mainly on Python.

  1. Best practices [notebook]

General topics

  1. Goodies of the Standard Library - part 2 [notebook] [exercise]

Credits

About

Jupyter notebooks for teaching/learning Python 3

Topics

jupyter-notebook learning-python python-exercises python3 teaching-materials

Resources

Readme MIT license

Contributing

Contributing Activity

Stars

6.9k stars

Watchers

265 watching

Forks

1.8k forks Report repository

Releases

Packages

Used by

Contributors

Languages