Learning the key concepts of Python can help you understand how programs work while also imparting foundational logic that can serve you in other domains. Understanding what Python and computer programming can offer you both as a user and as a developer is important as technology is further integrated into daily life.
Table of contents
- Python 2 vs Python 3: Practical Considerations
- How To Install Python 3 and Set Up a Local Programming Environment
- How To Write Your First Python 3 Program
- How To Work with the Python Interactive Console
- How To Write Comments
- Understanding Data Types
- An Introduction to Working with Strings
- How To Format Text
- An Introduction to String Functions
- How To Index and Slice Strings
- How To Convert Data Types
- How To Use Variables
- How To Use String Formatters
- How To Do Math with Operators
- Built-in Python 3 Functions for Working with Numbers
- Understanding Boolean Logic
- Understanding Lists
- How To Use List Methods
- Understanding List Comprehensions
- Understanding Tuples
- Understanding Dictionaries
- How To Import Modules
- How To Write Modules
- How To Write Conditional Statements
- How To Construct While Loops
- How To Construct For Loops
- How To Use Break, Continue, and Pass Statements when Working with Loops
- How To Define Functions
- How To Use *args and **kwargs
- How To Construct Classes and Define Objects
- Understanding Class and Instance Variables
- Understanding Inheritance
- How To Apply Polymorphism to Classes
- How To Use the Python Debugger
- How To Debug Python with an Interactive Console
- How To Use Logging
- How To Port Python 2 Code to Python 3
Pages : | 459 |
Size : | 5.0 MB |
Downloads: | 82 |
Created: | 2022-02-02 |
License: | CC BY-NC-SA |
Author(s): | Lisa Tagliaferri |
Others related eBooks about How To Code in Python 3
This book is a Python tutorial for beginners aiming at teaching spatial data processing. It is used as part of the courses taught in Remote Sensing and GIS at Aberystwyth University, UK.
Download free course Python for Everybody, pdf file on 247 pages by Dr. Charles Severance.
Download free course Learning Python Matplotlib, pdf file on 97 pages by Stack Overflow Community.
An introduction to computer programming, using the easy, yet powerful, Python programming language. Python, a cross-platform language used by such organizations as Google and NASA, lets you work quickly and efficiently, allowing you to concentrate on your work rather than the language.
By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum a