Skip to content

"Python in Persian" is an open-source online book that offers a comprehensive tutorial on the Python programming language in Persian.

Notifications You must be signed in to change notification settings

ArdeshirV/PythonPersianTutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python in Persian (Updated with Python 3.11)

Documentation Status

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 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 Time

This 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.ir 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.

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 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.

About

"Python in Persian" is an open-source online book that offers a comprehensive tutorial on the Python programming language in Persian.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 59.5%
  • HTML 28.0%
  • JavaScript 7.5%
  • Python 2.6%
  • Batchfile 1.1%
  • Makefile 0.9%
  • Dockerfile 0.4%