17db96d56Sopenharmony_ci.. _tutorial-index:
27db96d56Sopenharmony_ci
37db96d56Sopenharmony_ci######################
47db96d56Sopenharmony_ci  The Python Tutorial
57db96d56Sopenharmony_ci######################
67db96d56Sopenharmony_ci
77db96d56Sopenharmony_ciPython is an easy to learn, powerful programming language. It has efficient
87db96d56Sopenharmony_cihigh-level data structures and a simple but effective approach to
97db96d56Sopenharmony_ciobject-oriented programming. Python's elegant syntax and dynamic typing,
107db96d56Sopenharmony_citogether with its interpreted nature, make it an ideal language for scripting
117db96d56Sopenharmony_ciand rapid application development in many areas on most platforms.
127db96d56Sopenharmony_ci
137db96d56Sopenharmony_ciThe Python interpreter and the extensive standard library are freely available
147db96d56Sopenharmony_ciin source or binary form for all major platforms from the Python web site,
157db96d56Sopenharmony_cihttps://www.python.org/, and may be freely distributed. The same site also
167db96d56Sopenharmony_cicontains distributions of and pointers to many free third party Python modules,
177db96d56Sopenharmony_ciprograms and tools, and additional documentation.
187db96d56Sopenharmony_ci
197db96d56Sopenharmony_ciThe Python interpreter is easily extended with new functions and data types
207db96d56Sopenharmony_ciimplemented in C or C++ (or other languages callable from C). Python is also
217db96d56Sopenharmony_cisuitable as an extension language for customizable applications.
227db96d56Sopenharmony_ci
237db96d56Sopenharmony_ciThis tutorial introduces the reader informally to the basic concepts and
247db96d56Sopenharmony_cifeatures of the Python language and system. It helps to have a Python
257db96d56Sopenharmony_ciinterpreter handy for hands-on experience, but all examples are self-contained,
267db96d56Sopenharmony_ciso the tutorial can be read off-line as well.
277db96d56Sopenharmony_ci
287db96d56Sopenharmony_ciFor a description of standard objects and modules, see :ref:`library-index`.
297db96d56Sopenharmony_ci:ref:`reference-index` gives a more formal definition of the language.  To write
307db96d56Sopenharmony_ciextensions in C or C++, read :ref:`extending-index` and
317db96d56Sopenharmony_ci:ref:`c-api-index`. There are also several books covering Python in depth.
327db96d56Sopenharmony_ci
337db96d56Sopenharmony_ciThis tutorial does not attempt to be comprehensive and cover every single
347db96d56Sopenharmony_cifeature, or even every commonly used feature. Instead, it introduces many of
357db96d56Sopenharmony_ciPython's most noteworthy features, and will give you a good idea of the
367db96d56Sopenharmony_cilanguage's flavor and style. After reading it, you will be able to read and
377db96d56Sopenharmony_ciwrite Python modules and programs, and you will be ready to learn more about the
387db96d56Sopenharmony_civarious Python library modules described in :ref:`library-index`.
397db96d56Sopenharmony_ci
407db96d56Sopenharmony_ciThe :ref:`glossary` is also worth going through.
417db96d56Sopenharmony_ci
427db96d56Sopenharmony_ci.. toctree::
437db96d56Sopenharmony_ci   :numbered:
447db96d56Sopenharmony_ci
457db96d56Sopenharmony_ci   appetite.rst
467db96d56Sopenharmony_ci   interpreter.rst
477db96d56Sopenharmony_ci   introduction.rst
487db96d56Sopenharmony_ci   controlflow.rst
497db96d56Sopenharmony_ci   datastructures.rst
507db96d56Sopenharmony_ci   modules.rst
517db96d56Sopenharmony_ci   inputoutput.rst
527db96d56Sopenharmony_ci   errors.rst
537db96d56Sopenharmony_ci   classes.rst
547db96d56Sopenharmony_ci   stdlib.rst
557db96d56Sopenharmony_ci   stdlib2.rst
567db96d56Sopenharmony_ci   venv.rst
577db96d56Sopenharmony_ci   whatnow.rst
587db96d56Sopenharmony_ci   interactive.rst
597db96d56Sopenharmony_ci   floatingpoint.rst
607db96d56Sopenharmony_ci   appendix.rst
61