Built-in Data Types

This chapter provides introductions and tutorial examples about built-in data types. Topics include introductions to common features of all data types; some basic data types: NoneType, bool, int, float, bytes, str, tuple, list and dict.

Introduction to Data Type

Common Features of All Data Types

Data Type - NoneType for Nothing

Data Type - 'bool' for Boolean Values

Data Type - 'int' for Integer Values

Data Type - 'float' for Real Numbers

Data Type - 'bytes' for Byte Sequence

Data Type - 'str' for Character String

Data Type - 'tuple' for Immutable List

Data Type - 'list' for Mutable List

Data Type - 'dict' for Dictionary Table


Table of Contents

 About This Book

 Running Python Code Online

 Python on macOS Computers

 Python on Linux Computers

Built-in Data Types

 Variables, Operations and Expressions

 Statements - Execution Units

 Function Statement and Function Call

 Iterators, Generators and List Comprehensions

 Classes and Instances

 Modules and Module Files

 Packages and Package Directories

 "sys" and "os" Modules

 "pathlib" - Object-Oriented Filesystem Paths

 "pip" - Package Installer for Python

 SciPy.org - Python Libraries for Science

 pandas - Data Analysis and Manipulation

 Anaconda - Python Environment Manager

 Jupyter Notebook and JupyterLab


 Full Version in PDF/EPUB