Giter Club home page Giter Club logo

pythonpersiantutorial's Introduction

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

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.

pythonpersiantutorial's People

Contributors

dariubs avatar saeiddrv avatar sajadshokri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pythonpersiantutorial's Issues

افزودن بخش unit test

سلام.
ممنون از اینکه چنین ریسورس ارزشمندی رو به رایگان در اختیار علاقه‌مندان قرار دادید. درصورت امکان، بخشی رو برای آموزش unitTest هم به عنوان پیوست کتاب قرار بدهید.
.متشکرم

Request pdf version

Request pdf version

Hello, if possible, please provide a pdf and epub version. Thanks

مطالب پیشرفته

سلام
ایا امکان توضیح درباره مطالب پیشرفته مثل برخی ماژول ها(مثلا سیس یا مولتی پروسسور) هست؟

کتاب پایتون

درود
سپاس بی‌کران از مهر و دانش پراکنیدن شما. خواهشمندم اگر شدنی‌ست این برنامه را ادامه دهید.

💡اضافه کردن IDEهای دیگر

سلام و با تشکر از زحمات شما.

پیشنهاد می کنم که در درس ۳ به ۲ ویرایشگر زیر هم اشاره کنید. VSCODE و thonny .
ویرایشگر Thonny ویژه بچه ها است و همچنین اینجانب آن را هم به فارسی ترجمه کرده ام.

More about OOP

for general users:
The following is in persian (pinglish)

salam
man mikhastam be yeki az dustam site farsi amuzesh python moarefi konm (chon be zaban english mosalat nist ke betune document haye python.org ro bekhune) ke site shomaro didam.
vaghean site khubi darin va mataleb ro dar hadi ke man didam sade va ba mesal kafi avordin
va masalee ke shakhsan kheili azash lezat bordam hamin open source budan va link be source haye original bud ke tuye kheili az amuzesh haye farsi chenin chizi nist motoasefane!
be hamin dalil khastam be amuzesh haye site shoma komak konm, dar surati ke shoma ok bashin

OOP:
OOP dar python yeki az asli tarin ravesh ha vase barnamenevisi
dar site shoma matlab haye koli rajebesh gofte shode vali hes mikonm mishe yeseri mataleb dg ham behesh ezafe beshe az jomle:

  • inheritance & multi-inheritance
  • operators overloading
  • Python Encapsulation (e.g. : self.__variable)

ke in mataleb nokate asli tu OOP barnamenevisi kardane
age mayel bashin mitunam ba fork karan tu neveshtan in mataleb komak konm.

sepas babate site khubetun.

Proposal

i think it would be better to add lessons index to readme.md file. for e.g like this django.

Editing and updating lesson 10

  • Adaptation to version 3.11
  • Remove description related to version 2.x
  • Rename the file name
  • Add data-exchange-formats section

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.