Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Source Code for "Learn Python by Example"

License

NotificationsYou must be signed in to change notification settings

braboj/tutorial-python

Repository files navigation

by Branimir Georgiev(www.codewithbranko.com)

This tutorial provides over 200 Python programming examples suitable forjunior, intermediate, and senior developers. It covers topics ranging frombasic Python syntax to advanced concepts such as SOLID principles, designpatterns, and best practices.

Each example is designed to be self-contained and easy to understand, allowingyou to run and modify the code directly in your IDE. The examples are organizedinto directories based on topics, making it easy to find what you're lookingfor.

Prerequisites

Ensure that the following tools are installed before setting up the project:

  • IDE of your choice - PyCharm, Visual Studio Code, or any other Python IDE
  • Python 3.10+ - the examples rely on modern Python features
  • git - to clone this repository

Installation

Clone the repository to your local machine:

git clone https://github.com/braboj/python-by-example.git

Change into the project directory:

cd python-by-example

For Linx and macOS, create a virtual environment and install the dependenciesusing the following commands:

python -m venv .venvsource .venv/bin/activatepip install -r requirements.txt

For Windows users, use the following commands to create a virtual environmentand install the dependencies:

python -m venv .venv.\.venv\Scripts\activatepip install -r requirements.txt

Usage

The examples are intented to be used with an IDE of your choice so that you canrun, debug, and modify them as needed. Just open the project in your IDE, andyou can start exploring the examples.

.python-by-example├── .venv/                  # Virtual environment directory├── examples/               # Directory containing all the examples│   ├── A01_introduction/   # Introduction examples│   │   ├── hello_world.py

You can also run the examples from the command line. For example, to run thehello_world.py example, use the following command:

python examples/A01_introduction/hello_world.py

License

This project is proprietary software. Copying or distribution is prohibitedwithout express permission from the author.

About

Source Code for "Learn Python by Example"

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp