مرجع زبان پایتون¶
This reference manual describes the syntax and core semantics of the language. It is terse, but attempts to be exact and complete.
Elsewhere, the built-in object types and functions are described in Python built-ins reference. Standard library modules are described in The Python standard library.
For an informal introduction to the language, see راهنمای پایتون. For C or C++ programmers, two additional manuals exist: توسعه و تعبیه مفسر پایتون describes the high-level picture of how to write a Python extension module, and the راهنمای مرجع Python/C API describes the interfaces available to C/C++ programmers in detail.
- 1. مقدمه
- 2. تحلیل واژگانی
- 3. مدل داده
- 4. مدل اجرا
- 5. سیستم ایمپورت
- 6. عبارات
- 6.1. تبدیلات حسابی
- 6.2. اتمها
- 6.3. اولیهها
- 6.4. عبارت await
- 6.5. عملگر توان
- 6.6. عملیات حسابی و بیتی یکعملوندی
- 6.7. عملیات حسابی دودویی
- 6.8. عملیات جابهجایی
- 6.9. عملیات بیتبهبیت دودویی
- 6.10. مقایسهها
- 6.11. عملیات بولی
- 6.12. عبارات انتساب
- 6.13. عبارات شرطی
- 6.14. لامبداها
- 6.15. فهرستهای عبارت
- 6.16. ترتیب ارزیابی
- 6.17. اولویت عملگرها
- 7. دستورهای ساده
- 8. دستورهای مرکب
- 9. کامپوننتهای سطح بالا
- 10. مشخصات کامل گرامر