راهنمای پایتون

نکته

This tutorial is designed for programmers that are new to the Python language, not beginners who are new to programming.

پایتون یک زبان برنامه‌نویسی قدرتمند و آسان برای یادگیری است. این زبان دارای ساختمان داده‌های سطح بالا و کارآمد و همچنین رویکردی ساده اما مؤثر به برنامه نویسی شیء گرا است. سینتکس زیبا و نوع دهی پویا در پایتون، به همراه طبیعت تفسیری آن، این زبان را به گزینه ای ایده‌آل برای اسکریپت‌نویسی و توسعه سریع برنامه ها در بسیاری از حوزه ها و بر روی اکثر پلتفرم ها تبدیل کرده است.

The Python interpreter and the extensive standard library are freely available in source or binary form for all major platforms from the Python website, https://www.python.org/, and may be freely distributed. The same site also contains distributions of and pointers to many free third party Python modules, programs and tools, and additional documentation.

مفسر پایتون به‌راحتی قابل گسترش با توابع و نوع‌های داده جدیدی است که در زبان‌های C یا C++ (یا زبان‌های دیگر قابل فراخوانی از C) پیاده‌سازی شده‌اند. پایتون همچنین به‌عنوان یک زبان توسعه برای برنامه‌های قابل تنظیم مناسب است.

This tutorial introduces the reader informally to the basic concepts and features of the Python language and system. Be aware that it expects you to have a basic understanding of programming in general. It helps to have a Python interpreter handy for hands-on experience, but all examples are self-contained, so the tutorial can be read off-line as well.

For a description of standard objects and modules, see Python built-ins reference and The Python standard library. The Python Language Reference gives a more formal definition of the language. To write extensions in C or C++, read Extending and Embedding the Python Interpreter and Python/C API Reference Manual. There are also several books covering Python in depth.

این آموزش سعی نمی‌کند جامع باشد و تک تک ویژگی‌ها یا حتی هر ویژگی معمولی را پوشش دهد. بلکه، بسیاری از ویژگی‌های برجسته پایتون را معرفی می کند و به شما ایده‌ای خوب از سبک و طعم زبان پایتون می دهد. پس از خواندن آن، شما قادر خواهید بود ماژول‌ها و برنامه های پایتون را بخوانید و بنویسید و آماده هستید تا در مورد ماژول‌های کتابخانه مختلف پایتون که در The Python standard library توضیح داده شده‌اند، بیشتر یاد بگیرید.

Glossary نیز ارزش مرور کردن دارد.