Обучалка в Телеграм

Python by Example, Vasilev A., 2025

Подробнее о кнопках "Купить"

По кнопкам "Купить бумажную книгу" или "Купить электронную книгу" можно купить в официальных магазинах эту книгу, если она имеется в продаже, или похожую книгу. Результаты поиска формируются при помощи поисковых систем Яндекс и Google на основании названия и авторов книги.

Наш сайт не занимается продажей книг, этим занимаются вышеуказанные магазины. Мы лишь даем пользователям возможность найти эту или похожие книги в этих магазинах.

Список книг, которые предлагают магазины, можно увидеть перейдя на одну из страниц покупки, для этого надо нажать на одну из этих кнопок.


Python by Example, Vasilev A., 2025.
        
   Today, there are many different programming languages. Some of them are popular, and some are not. Typically, the popularity of a language is determined by the number of programmers who use it in their work or by the requests from employers searching for programmers. For many years, the traditionally popular programming languages have been Java, C++, C#, and JavaScript. Now, we should mention Python among them. Moreover, according to some ratings, Python already occupies a leading position. The book is about Python.

Python by Example, Vasilev A., 2025


Introduction to Lists.
Next, we will get familiar with lists. Lists belong to the multiple data types in Python. In addition to lists, there are sets, tuples, and dictionaries. We will also discuss them, but a little later. Lists deserve special attention because, in Python, they typically play the role that arrays play in other programming languages.

A list is an ordered group of values. Moreover, the values that form the list can be of different types. There are various ways to create a list. The simplest, perhaps, is to specify the values included in the list in square brackets, separated by commas. For example, the command nums=[1,5,10] creates a list of three numeric elements (1, 5, and 10), and a reference to it is written to the nums variable. Also, the list() function is often used to create lists. If we pass a string as an argument to the function, the result is a list of characters from the string. There are also other ways to use the function to create lists, some of which are discussed below.

Contents.
Introduction. The Book about Python.
The Python Language.
About the Book.
The Software.
About the Author.
Feedback.
Downloads.
Thanks.
Chapter 1. Introduction to Python.
The First Program.
Using Other IDEs.
Introduction to Variables.
Entering a Value to a Program.
The eval() Function.
Introduction to Lists.
Introducing the Conditional Statement.
Getting Familiar with the Loop Statement.
Getting Familiar with Functions.
Summary.
Chapter 2. Basic Operations.
The while Loop Statement.
The for Loop Statement.
The if Conditional Statement.
The Ternary Operator.
Exception Handling.
Summary.
Chapter 3. Lists and Tuples.
Getting Familiar with Tuples.
Basic Operations with Lists and Tuples.
Creating a Sequence Based on Lists and Tuples.
Nested Lists and Tuples.
Copying Lists and Tuples.
Functions and Methods for Handling Lists.
Summary.
Chapter 4. Sets and Dictionaries.
Getting Familiar with Sets.
Operations with Sets.
Examples of Using Sets.
Getting Familiar with Dictionaries.
Operations with Dictionaries.
Summary. 
Chapter 5. Operations with Strings.
String Literals. 
Basic Operations with Strings.
Methods for Handling Strings.
Examples of Using Strings.
Summary.
Chapter 6. Functions. 
Defining and Calling Functions.
Named Arguments of a Function.
Passing Arguments to Functions.
Values of Arguments by Default.
Functions with an Arbitrary Count of Arguments.
Local and Global Variables.
Nested Functions.
Lambda Functions.
A Function as an Argument or Result.
Using Recursion.
Function Decorators.
Generator Functions.
Annotations and Documenting in Functions.
Summary.
Chapter 7. Files and Data.
Numerical Data.
Boolean Values.
Date and Time.
Using Files.
Summary.
Chapter 8. Classes and Objects.
The Concept of Classes and Objects.
Describing Classes and Creating Objects.
Constructors and Destructors.
The Object that Implements a Class.
Operations with Attributes of Classes and Copying Objects.
Documenting and Decorators.
Using Classes and Objects.
Summary.
Chapter 9. Inheritance and Special Methods.
Getting Familiar with Inheritance.
Multiple Inheritance.
Overriding Methods when Inheriting.
Type Casting.
Overloading Operators.
Accessing Attributes.
Indexing Objects.
Calling an Object.
Iterators.
Summary.
Chapter 10. Exception Handling and Threads.
The Principles of Exception Handling.
Handling Exceptions of Different Types.
Using an Exception Object.
Nested Blocks for Handling Exceptions.
Generating Exceptions Artificially.
Creating Exception Classes.
Using Exceptions.
Getting Familiar with Threads.
Interaction of Threads.
Examples of Using Threads.
Summary. 
Chapter 11. The Programs with GUI.
Creating a Simple Window.
A Window with a Label and Button.
Using an Enter Field.
A Drop-Down List.
Options, Switches, and Other Components.
Using Menus.
Using Graphics.
Summary.
Afterword. Python and Programming.



Бесплатно скачать электронную книгу в удобном формате, смотреть и читать:
Скачать книгу Python by Example, Vasilev A., 2025 - fileskachat.com, быстрое и бесплатное скачивание.

Скачать pdf
Ниже можно купить эту книгу, если она есть в продаже, и похожие книги по лучшей цене со скидкой с доставкой по всей России.Купить книги



Скачать - pdf - Яндекс.Диск.
Дата публикации:





Теги: :: ::


 


 

Книги, учебники, обучение по разделам




Не нашёл? Найди:





2026-01-09 00:03:18