Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saeiddrv/PythonPersianTutorial
"Python in Persian" is an open-source online book that offers a comprehensive tutorial on the Python programming language in Persian.
https://github.com/saeiddrv/PythonPersianTutorial
book coderz persian-language programming-language python python-book sphinx tutorial
Last synced: 3 months ago
JSON representation
"Python in Persian" is an open-source online book that offers a comprehensive tutorial on the Python programming language in Persian.
- Host: GitHub
- URL: https://github.com/saeiddrv/PythonPersianTutorial
- Owner: saeiddrv
- Created: 2015-04-10T17:23:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-02T15:26:30.000Z (8 months ago)
- Last Synced: 2024-05-28T01:04:06.148Z (6 months ago)
- Topics: book, coderz, persian-language, programming-language, python, python-book, sphinx, tutorial
- Language: CSS
- Homepage: https://python.coderz.club
- Size: 12.8 MB
- Stars: 312
- Watchers: 26
- Forks: 77
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Python in Persian (Updated with Python 3.11)
[![Documentation Status](https://readthedocs.org/projects/pythonpersiantutorial/badge/?version=latest)](https://readthedocs.org/projects/pythonpersiantutorial/?badge=latest)
This is an open-source and online book that provides a comprehensive tutorial on the Python programming language in Persian. The book is available at [python.coderz.club](https://python.coderz.club/) and covers a wide range of topics, including:
- Introduction
- Setup and starting a new project
- Interactive mode
- Data types and data structures
- Control flow statements
- File handling
- Standard library
- Functions
- Decorator, Generator and lambda
- Regular expressions
- Object-oriented programming
- Descriptors and Context Manager
- Type hinting and Data class
- Exception and Exception handling
- Warning and Assertion
- Date and TimeThis book is designed for Persian-speaking learners without prior experience with programming languages. The book covers all the essential topics, from basic to intermediate programming, and each chapter includes code examples to help learners understand the material.
## Getting Started
To get started with this book, you can:
- Simply visit [python.coderz.club](https://python.coderz.club/) and start reading.
- Download the source code from GitHub and run it on your local machine:
```
$ git clone https://github.com/saeiddrv/PythonPersianTutorial.git
$ pip install -U pip
$ pip install virtualenv
$ python -m virtualenv .venv
$ source .venv/bin/activate
$ cd PythonPersianTutorial
$ pip install -r requirements.txt
$ make html
$ cd ./build/html
$ python -m http.server 8000
```
then visit http://127.0.0.1:8000
- Download the source code from GitHub and run it in Docker:
```
$ git clone https://github.com/saeiddrv/PythonPersianTutorial.git
$ cd PythonPersianTutorial
$ docker build -t pypersian .
$ docker run -d --name pypersian -p 80:8000 pypersian
```
then visit http://127.0.0.1
## Contributions
If you'd like to contribute to the book, you can fork the repository on GitHub and submit a pull request with your changes. You can also open an issue to **report errors**.
## Credits
This book was authored by [**Saeid Darvish**](https://saeiddrv.com).
## License
This book is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License, which means you are free to use, copy, modify, merge, publish, and distribute the book for non-commercial purposes. Please see the [license](https://creativecommons.org/licenses/by-nc-sa/4.0/) for more details.
## Acknowledgments
Special thanks to the Python community and the contributors of open-source Python packages and libraries, without whom this book would not have been possible.