- Notifications
You must be signed in to change notification settings - Fork0
Source Code for "Learn Python by Example"
License
braboj/tutorial-python
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
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.
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
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-exampleFor Linx and macOS, create a virtual environment and install the dependenciesusing the following commands:
python -m venv .venvsource .venv/bin/activatepip install -r requirements.txtFor 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
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.pyYou 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
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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.