|
1 | | -Python Book (Persian) |
2 | | -===== |
| 1 | +# Python in Persian |
3 | 2 |
|
4 | 3 | [](https://readthedocs.org/projects/pythonpersiantutorial/?badge=latest) |
5 | 4 |
|
6 | | -A free, online python book in persian. This book currently is under development but every time you can read last release in : |
7 | | -http://python.coderz.ir |
| 5 | +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.ir](https://python.coderz.ir/) and covers a wide range of topics, including: |
8 | 6 |
|
9 | | -by : |
10 | | -* [Saeid Darvish](https://twitter.com/saeiddrv) |
| 7 | +- Introduction |
| 8 | +- Setup and starting a new project |
| 9 | +- Data types |
| 10 | +- Control flow statements |
| 11 | +- Functions |
| 12 | +- Object-oriented programming |
| 13 | +- Exception handling |
| 14 | +- File handling |
| 15 | +- Regular expressions |
| 16 | +- Debugging techniques |
| 17 | +- Date and Time |
11 | 18 |
|
12 | | -Feel free to contribute :) |
| 19 | +This book is designed for Persian-speaking learners who have no 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 reinforce their understanding of the material. |
| 20 | + |
| 21 | +## Getting Started |
| 22 | + |
| 23 | +To get started with the book: |
| 24 | + |
| 25 | +- Simply visit [python.coderz.ir](https://python.coderz.ir/) and start reading. |
| 26 | + |
| 27 | +- Download the source code from GitHub and run it on your local machine: |
| 28 | + |
| 29 | + ``` |
| 30 | + $ git clone https://github.com/saeiddrv/PythonPersianTutorial.git |
| 31 | + |
| 32 | + $ pip install -U pip |
| 33 | + $ pip install virtualenv |
| 34 | + $ python -m virtualenv .pypr-venv |
| 35 | + $ source .pypr-venv/bin/activate |
| 36 | + |
| 37 | + $ cd PythonPersianTutorial |
| 38 | + $ pip install -r requirements.txt |
| 39 | + |
| 40 | + $ make html |
| 41 | + |
| 42 | + $ cd ./build/html |
| 43 | + $ python -m http.server |
| 44 | + ``` |
| 45 | + |
| 46 | +- Download the source code from GitHub and run it with Docker: |
| 47 | + |
| 48 | + ``` |
| 49 | + $ git clone https://github.com/saeiddrv/PythonPersianTutorial.git |
| 50 | + |
| 51 | + $ cd PythonPersianTutorial |
| 52 | + |
| 53 | + $ docker build -t pypersian . |
| 54 | + $ docker run -d --name pypersian -p 80:8000 pypersian |
| 55 | + ``` |
| 56 | + |
| 57 | + |
| 58 | +## Contributions |
| 59 | + |
| 60 | +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**. |
| 61 | + |
| 62 | +## Credits |
| 63 | + |
| 64 | +This book was authored by **Saeid Darvish**. |
| 65 | + |
| 66 | +## License |
| 67 | + |
| 68 | +This book is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0](http://creativecommons.org/licenses/by-nc/4.0/) International Public License, which means you can use, copy, modify, merge, publish, distribute of the book for non-commercial purposes. |
| 69 | + |
| 70 | +## Acknowledgments |
| 71 | + |
| 72 | +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. |
13 | 73 |
|
14 | | -License |
15 | | ------ |
16 | | -<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type">Python Persian Tutorial</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://twitter.com/saeiddrv" property="cc:attributionName" rel="cc:attributionURL">Saeid Darvish</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>.<br />Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="http://python.coderz.ir/" rel="dct:source">http://python.coderz.ir/</a>. |
|
0 commit comments