Content

CONTENTS1 Whetting Your Appetite32 the usage of the Python Interpreter52.1 Invoking the Interpreter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52.2 The Interpreter and Its environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 An casual advent to Python93.1 the use of Python as a Calculator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ninety three.2 First Steps towards Programming. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .164 extra manage float Tools194.1ifStatements-python-guides . . .194.2forStatements-python-guides . . .194.3 Therange()function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .204.4breakandcontinueStatements, andelseClauses on Loops.


. . . . . . . . . . . . . . . .214.5passStatements-python-courses . .224.6 Defining features-python-publications .224.7 extra on Defining functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .244.eight Intermezzo: Coding fashion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .295 records Structures315.1 extra on Lists-python-guides . . .315.2 Thedelstatement-python-courses .355.3 Tuples and Sequences. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .365.4 units-python-publications . . . . . . . . .375.5 Dictionaries-python-courses . . . . .385.6 Looping strategies-python-courses395.7 greater on situations-python-courses405.8 comparing Sequences and different types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .406 Modules436.1 more on Modules-python-guides .446.2 fashionable Modules-python-publications .466.three Thedir()function-python-courses476.4 programs-python-courses . . . . . .487 input and Output537.1 Fancier Output Formatting.

 

 analyzing and Writing documents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .578 mistakes and Exceptions61i eight.1 Syntax errors-python-courses . . .618.2 Exceptions-python-courses . . . . .618.3 managing Exceptions-python-courses628.4 elevating Exceptions-python-guides .648.five person-described Exceptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .658.6 Defining clean-up actions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .668.7 Predefined smooth-up movements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .669 Classes699.1 A word about Names and objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .699.2 Python Scopes and Namespaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .699.3 a primary take a look at lessons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .729.4 Random feedback-python-courses .759.5 Inheritance-python-guides . . . . .779.6 private Variables-python-publications . .789.7 Odds and Ends-python-courses . . .799.8 Iterators-python-courses . . . . . .799.9 turbines-python-courses . . . . .809.10 Generator Expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8110 quick excursion of the usual Library8310.1 running gadget Interface.


10.eleven quality manage-python-publications . .8710.12 Batteries protected-python-publications .8711 brief excursion of the standard Library — element II8911.1 Output Formatting-python-courses8911.2 Templating-python-courses . . . . .9011.three working with Binary facts file Layouts. . . . . . . . . . . . . . . . . . . . . . . . . . . .9111.four Multi-threading-python-guides . .9111.5 Logging-python-publications . . . . . . .9211.6 susceptible References-python-publications . .9311.7 tools for operating with Lists. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9311.8 Decimal Floating point mathematics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9412 digital Environments and Packages9712.1 creation-python-guides . . . .9712.2 growing digital Environments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9712.3 managing programs with pip. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9813 What Now?10114 Interactive input editing and history Substitution10314.1 Tab final touch and history enhancing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10314.2 options to the Interactive Interpreter. . . . . . . . . . . . . . . . . . . . . . . . . . . . .103ii


15 Floating factor arithmetic: issues and Limitations10515.1 illustration mistakes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10816 Appendix11116.1 Interactive Mode-python-publications . .111A Glossary113B about those documents127B.1 contributors to the Python Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . .127C history and License129C.1 records of the software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129C.2 phrases and conditions for having access to or in any other case the usage of Python. . . . . . . . . . . . . . . . .130C.three Licenses and Acknowledgements for incorporated software program. . . . . . . . . . . . . . . . . . .133D Copyright145Index147iii

https://bugs.python.org/file47781/Tutorial_EDIT.pdf

my-courses.net

Leave a Reply