Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

220 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practical-Python-Examples

Practical Python Examples

In this repository I will try to share some practical and tested python examples. My examples are written and tested on an Ubuntu machine. These examples will start from the beginner level.

I will use the text files in gutenberg_org in some of our examples. These files are shared in https://gutenberg.org and selected randomly.

Cloning

mkdir github

cd github

git clone https://github.com/ahmetax/practical-python-examples.git

cd practical-python-examples

Python Installation

Go to https://www.python.org/downloads/ and select your preferred version.

I will use Python 3.12 as the starting point.

Virtual environment

python3.12 -m venv e312

source e312/bin/activate

pip install -r requirements.txt

Version check

python -v

You can share your own examples

If you wish, you can share your own python examples also. You can use a header on top of your code as follows:

"""

Author: Your name

Date: Creation date

Python {version no: x.y.z } Operating System

"""

Vibe Coding

You can use README.md files to create the projects from scratch by any Coding Agent.

Detailed Code Explanations (in Turkish)

In https://gurmezin.com site you can find detailed explanations for each individual example.

About

Practical Python Example Codes

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages