
Python Made Easy
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
All prices
More details
Person
Kevin's expertise seamlessly extends across a vast array of IT sectors. His skills also extend to the strategic domains of corporate network development, as well as building computer systems, and IT support. In his capacity as the Senior Writer and Director at Elluminet Press Ltd, Kevin has penned multiple tech-related books that have found favor among home computer users, students and professionals around the world. His contributions in the classroom as a computer science lecturer and IT trainer further demonstrate his knowledge and continue to help people understand computer technology. Beyond writing, he lends his technical expertise as a reviewer and consultant to many other computer publications and textbooks.
Content
- Intro
- Table of Contents
- About the Author
- Acknowledgements
- Getting Started
- What is Python
- Installing Python
- Install on Windows
- Install on MacOS
- Install on Linux
- Setting up a Development Environment
- Code Editor vs IDE
- Visual Studio Code (VS Code)
- PyCharm
- Sublime Text
- IDLE
- Jupyter Notebook
- Summary
- Python Basics
- Language Syntax
- Reserved Words
- Indentation
- Comments
- Dynamic and Duck Typing
- Lab Exercises 2.1
- Basic Input & Output
- Displaying Output
- Accepting Input
- Lab Exercises 2.2
- Variables and Data Types
- Numeric Data Types
- Integers
- Floats
- Strings
- Concatenation
- Indexing
- Slicing Strings
- Formatting Strings
- Escape Characters
- String Methods
- Boolean Data Type
- Lab Exercises 2.3
- Operators and Expressions
- Arithmetic Operators
- Performing Arithmetic
- Comparison Operators
- Assignment Operators
- Making Expressions
- Operator Precedence
- Type Casting
- Lab Exercises 2.4
- Conditional Statements
- If Statement
- If.Else
- Elif Statement
- Nested If Statements
- Lab Exercises 2.5
- Iteration
- For Loop
- While Loop
- Break and Continue Statements
- Looping Over Data
- Nested Loops
- Iterators and Iterables
- Lab Exercises 2.6
- Summary
- Data Structures
- Lists
- 2D Lists
- Lab Exercises 3.1
- Tuples
- Sets
- Lab Exercises 3.2
- Dictionaries
- Lab Exercises 3.3
- Summary
- File Handling
- Opening a File
- Writing to a File
- Reading Data
- Opening a Binary File
- Writing to a Binary File
- Reading a Binary File
- Random File Access
- File Handling Methods
- Data Serialisation
- Pickle
- Writing Data
- Reading Data
- JSON
- Writing Data
- Reading Data
- Error Handling
- Lab Exercises 4.1
- Summary
- Python Functions
- Declaring Functions
- Calling Functions
- Lab Exercise 5.1
- Function Argument Types
- Positional Arguments
- Default Arguments
- Keyword Arguments
- Variable Length
- Lab Exercise 5.2
- Function Scope
- Decorator Functions
- Lambda Functions
- Recursive Functions
- Lab Exercises 5.3
- Exception Handling
- Handling an Exception
- Lab Exercise 6.1
- Custom Exceptions
- Lab Exercises 6.2
- Summary
- Object Oriented Programming
- Classes & Objects
- Defining a Class
- Adding Attributes
- Adding Methods
- Creating & Using Objects
- Lab Exercise 7.1
- Inheritance
- Defining a Child Class
- Adding Attributes
- Adding Methods
- Creating Objects
- Lab Exercise 7.2
- Method Overriding
- Lab Exercise 7.3
- Polymorphism
- Encapsulation
- Access Modifiers
- Getters & Setters
- Lab Exercises 7.4
- Summary
- Modules & Libraries
- Commonly Used Libraries
- Importing Libraries
- Creating your Own Libraries
- Lab Exercises 8.1
- Summary
- Graphics and GUIs
- Using Tkinter
- Creating a Window
- Adding Widgets
- Menus
- Buttons
- Text Field
- Listbox
- Checkbox
- Labels
- Label Frame
- Images and the Canvas
- Message Boxes
- Simple Calculator Project using Tkinter
- Using PyQt
- Creating a Window
- Menus
- Images
- Buttons
- Message Boxes
- Text Field
- Listbox
- Checkbox
- Labels
- Simple Unit Converter Project using PyQt
- Lab Exercises 9.1
- Turtle Graphics
- Setting up Turtle Graphics
- Basic Turtle Commands
- Drawing Shapes & Patterns
- Lab Exercises 10.1
- Summary
- Game Development
- Install Pygame
- Creating a Window
- Setting up the Game Loop
- Drawing Basic Shapes
- Square
- Circle
- Line
- Loading Images
- Keyboard Events
- Sprites & Animation
- Creating a Simple Animation
- Music
- Sound Effects
- Invaders Project
- Specification
- Building the Application
- Initialise and Create Window
- Create Program or Game Loop
- Add the Player
- Add Keyboard Controls
- Making the Rocket Fire Bullets
- Add Enemies to Shoot
- Collision Detection
- Make the UFOs Move
- Make the UFOs Drop Bombs
- Breakout Project
- Lab Exercises 11.1
- Summary
- Debugging and Testing
- Unit Testing
- Pytest
- Debugging
- Lab Exercises 12.1
- Deploying Apps
- Creating a Standalone App
- PyInstaller
- CX_Freeze
- Creating an Installer
- Create App on MacOS
- Lab Exercises 13.1
- Summary
- Web Development
- Frameworks
- Django
- Flask
- Django
- Create a Virtual Environment
- Install Django
- Create a Project
- Creating an App
- Configure the App
- Define Views
- Create a Template
- Define URL
- Add URL to Project
- Using Models
- Lab Exercises 14.1
- Summary
- Video Resources
- Using the Videos
- File Resources
- Scanning the Codes
- iPhone
- Android
- Index
- Blank Page
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: ePUB
Copy protection: without DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reader that can handle the file format ePUB, such as Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePUB works well for novels and non-fiction books – i.e., 'flowing' text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook does not use copy protection or Digital Rights Management
For more information, see our eBook Help page.