This educational book introduces emerging developers to computer programming through the Python software development language, and serves as a reference book for experienced developers looking to learn a new language or re-familiarize themselves with computational logic and syntax.
How To Code in Python 3
โ Scribed by Lisa Tagliaferri; Lisa Tagliaferri
- Publisher
- DigitalOcean
- Year
- 2017
- Tongue
- English
- Leaves
- 9
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
This educational book introduces emerging developers to computer programming through the Python software development language, and serves as a reference book for experienced developers looking to learn a new language or re-familiarize themselves with computational logic and syntax.
Extremely versatile and popular among developers, Python is a good general-purpose language that can be used in a variety of applications. For those with an understanding of English, Python is a very human-readable programming language, allowing for quick comprehension. Because Python supports multiple styles including scripting and object-oriented programming, it is considered to be a multi-paradigm language that enables programmers to use the most suitable style to complete a project. Increasingly used in industry, Python offers a lot of potential for those who would like to begin coding while also being a good choice for those looking to pick up an additional programming language.
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.
As you work through this book, you will be able to increase your awareness of computer programming, improve your logical thinking, and eventually become a producer of software. Being able to create software that runs is a very rewarding endeavor, and can help you serve those around you by increasing their access and empowering them to become collaborators. The more communities involved in the creation of software development, the more communities there will be whose needs are served by software.
If you use the book in the order it is laid out, youโll begin your exploration in Python by understanding the key differences between Python 3 and the previous versions of the language. From there, youโll set up a programming environment for your relevant local or server-based system, and begin by learning general Python code structure, syntax, and data types. Along the way, youโll gain a solid grounding in computational logic within Python, which can help you learn other programming languages. While the beginning of the book focuses on scripting in Python, the end of the book will take you through object-oriented coding in Python, which can make your code more modular, flexible, and complex without repetition. By the end of the book, youโll learn how to debug your Python code and finally how to port Python code across versions.
โฆ Table of Contents
- Introduction
- Python 2 vs Python 3: Practical Considerations
- How To Install Python 3 and Set Up a Local Programming
Environment on Ubuntu 16.04 - How To Install Python 3 and Set Up a Local Programming
Environment on macOS - How To Install Python 3 and Set Up a Local Programming
Environment on Windows 10 - How To Install Python 3 and Set Up a Local Programming
Environment on CentOS 7 - How To Install Python 3 and Set Up a Programming Environment on
an Ubuntu 16.04 Server - 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
๐ SIMILAR VOLUMES
This educational book introduces emerging developers to computer programming through the Python software development language, and serves as a reference book for experienced developers looking to learn a new language or re-familiarize themselves with computational logic and syntax.
Have you ever asked yourself, โHow do I do that in Python?โ If so, youโll love this practical collection of the most important Python techniques. Python How-To includes over 60 detailed answers to questions like: โข How do I join and split strings? โข How do I access dictionary keys, values, and
<span>Have you ever asked yourself, โHow do I do that in Python?โ If so, youโll love this practical collection of the most important Python techniques.</span><span><br><br></span><span>Python How-To</span><span> includes over 60 detailed answers to questions like:<br> <br> </span><ul><li><span><span
<p>Are you fed up with reading long, boring, lengthy paragraphs after paragraphs of text and want to get up and running in Python as soon as possible? Well, you're not alone. I for one hate having to read through masses of text for very little benefit. Python Programming Reloaded: How to Code Python