Kickstart to Python 3 : An Ultra-Rapid Programming Course

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

An Ultra-Rapid Programming Course This book serves as the very first step to for novices to learn Python programming. The book is divided into ten chapters. In the first chapter, readers are introduced to the basics of Python. It has the detailed instructions for installation on various platforms such as macOS, Windows, FreeBSD, and Linux. It also covers the other aspects of Python programming such as IDEs and Package Manager. The second chapter is where the readers get an opportunity to have a detailed hands-on with Python programming. It covers a group of built-in data structures popularly known as Python Collections. The third chapter covers the important concepts of strings, functions, and recursion. The fourth chapter focuses on the Object-Oriented Programming with Python. The fifth chapter discusses most commonly used custom data structures such as stack and queue. The sixth chapter spurs the creativity of the readers with Python’s Turtle graphics library. The seventh chapter explores animations and game development using the Pygame library. The eighth chapter covers handling data stored in a variety of file formats. The ninth chapter covers the area of Image processing with Wand library in Python. The tenth and the final chapter presents an array of assorted handy topics in Python. The entire book follows a step-by-step approach. The explanation of the topic is always followed by a detailed code example. The code examples are also explained in suitable detail and they are followed by the output in the form of text or screenshot wherever possible. Readers will become comfortable with Python programming language by closely following the concepts and the code examples in this book. The book also has references to external resources for readers to explore further.

Author(s): Ashwin Panjakar
Publisher: Lektor
Year: 2022

Language: English
Pages: 208

Contents
Chapter 1 • Introduction to Python
1.1 History of Python Programming Language
1.2 Installing Python on various platforms
1.2.1 Installation on Linux
1.2.2 Installation on Windows
1.3 IDLE
1.4 Script Mode of Python
1.5 Python IDEs
1.6 Python Implementations and Distributions
1.7 Python Package Index
Summary
Chapter 2 • Built-in Data Structures
2.1 IPython
2.2 Lists
2.3 Tuples
2.4 Sets
2.5 Dictionaries
Summary
Chapter 3 • Strings, Functions, and Recursion
3.1 Strings in Python
3.2 Functions
3.3 Recursion
3.3.1 Indirect Recursion
Summary
Chapter 4 • Object-Oriented Programming
4.1 Objects and Classes
4.1.1 Everything is an Object in Python
4.2 Getting Started with Classes
4.2.1 Docstrings
4.2.2 Adding attributes to a class
4.2.3 Adding a method to the class
4.2.4 Initializer method
4.2.5 Multiline Docstrings in Python
4.3 Modules and Packages
4.3.1 Modules
4.3.2 Packages
4.4 Inheritance
4.4.2 Method Overriding
4.4.3 super()
4.5 More Inheritance
4.5.1 Multiple Inheritance
4.5.2 Method Resolution order
4.6 Abstract class and method
4.7 Access Modifiers in Python
4.8 Polymorphism
4.8.1 Method Overloading
4.8.2 Operator overloading
4.9 Syntax Errors
4.10 Exceptions
4.10.1 Handling Exceptions
4.10.2 Handling exceptIons by types
4.10.3 else block
4.10.4 Raising an exception
4.10.5 finally clause
4.10.6 User-Defined Exceptions
Summary
Chapter 5 • Data Structures
5.1 Introduction to Data Structures
5.1.1 Jupyter Notebook
5.2 Linked Lists
5.2.1 Doubly Linked List
5.3 Stack
5.4 Queue
5.4.1 Double ended queues
5.4.2 Circular Queue
Summary
Chapter 6 • Turtle Graphics
6.1 History of Turtle
6.2 Getting Started
6.3 Exploring Turtle methods
6.4 Recipes with Turtle
6.5 Visualizing Recursion
6.6 Multiple turtles
Summary
Chapter 7 • Programming animations and games
7.1 GettIng Started with Pygame
7.2 Recursion with Pygame
7.3 Sierpinski Triangle by Chaos Game
7.4 Simple animation with Pygame
7.5 Snake Game
Summary
Chapter 8 • Working with files
Handling plaintext file
8.2 CSV Files
8.3 Handling Spreadsheets
Summary
Chapter 9 • Image Processing with Python
9.1 Digital Image Processing and Wand Library
9.2 Getting Started
9.3 Image Effects
9.4 Special Effects
9.5 Transformations
9.6 Statistical Operations
9.7 Color Enhancement
9.8 Image Quantization
9.9 Threshold
9.10 Distortions
9.11 Affine Transformations and Projections
9.11.1 Arc
9.11.2 Barrel and Barrel Inverse
9.11.3 Bilinear Transformation
9.11.4 Cylinder and Planar
9.11.5 Polar and Depolar
9.11.6 Polynomial
9.11.7 Shepards
Summary
Chapter 10 • A few useful topics in Python
10.1 Command Line Arguments
10.2 Worldcloud
Summary
Conclusion
Index