Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen

The Absolute Beginner's Guide to Python Programming

36,99 €

Sofort verfügbar, Lieferzeit: Sofort lieferbar

Format auswählen

The Absolute Beginner's Guide to Python Programming, Apress
A Step-by-Step Guide with Examples and Lab Exercises
Von Kevin Wilson, im heise Shop in digitaler Fassung erhältlich

Produktinformationen "The Absolute Beginner's Guide to Python Programming"

Written as an illustrated, step-by-step guide, this book will introduce you to Python with examples using the latest version of the language.

You'll begin by learning to set up your Python environment. The next few chapters cover the basics of Python such as language classifications, Python language syntax, and how to write a program. Next, you will learn how to work with variables, basic data types, arithmetic, companion, and Boolean operators, followed by lab exercises. Further, the book covers flow control, using functions, and exception handling, as well as the principles of object-oriented programming and building an interface design. The last section explains how to develop a game by installing PyGame and how to use basic animation, and concludes with coverage of Python web development with web servers and Python web frameworks.

The Absolute Beginners Guide to Python Programming will give you the tools, confidence, and inspiration to start writing Python programs. If you are a programmer, developer, or a student, or someone who wants to learn on their own, this book is for you.

WHAT YOU WILL LEARN

*
Gain an understanding of computer programming *
Understand different data and data types*
Work with Classes and OOP*
Build interfaces, simple games, and web development with Python


WHO THIS BOOK IS FOR

Software programmers, developers or students, or anyone who wants to learn Python programming on their own. With over 20 years’ experience in the computer industry, Kevin Wilson has made a career out of technology and showing others how to use it. After earning a master's degree in computer science, software engineering, and multimedia systems, Kevin has held various positions in the IT industry including graphic & web design, digital film & photography, programming & software engineering, developing & managing corporate networks, building computer systems, and IT support. He currently teaches computer science at college and works as an IT trainer in England while researching for his PhD. CHAPTER 1: WHAT IS PYTHON.

Goal: About Python, what it is, how to set up the interpreter on machine

Sub-topics

Setting Up

CHAPTER 2: THE BASICSGoal: Covers basics, syntax, writing a basic program and executing the code

Sub-topics

Language Classification

Low-Level Language

High-Level Language

Python Language Syntax

Reserved Words

Identifiers

Indentation

Comments

Input

Output

Escape Characters

Writing a Program

CHAPTER 3: WORKING WITH DATA

Goal: Covers data types: integers, lists, strings, etc, etc , variables, operators

Sub-topics

Variables

Local Variables

Global Variables

Basic Data Types

Integers

Floating Point Numbers

Strings

Lists

Two Dimensional Lists

Sets

Tuples

DictionariesCasting Data Types

Arithmetic Operators

Operator Precedence

Performing Arithmetic

Comparison Operators

Boolean Operators

Bitwise Operators

Lab Exercises

CHAPTER 4: FLOW CONTROL

Goal: Explains flow control, sequence, if/elif, for/while

Sub-topics

Sequence

Selection

if...else

elif

Iteration (Loops)

For loop

While loop

Break and Continue

Lab Exercises

CHAPTER 5: HANDLING FILESGoal: Explains file handling, reading files, writing to files, text files, binary files

File Types

Text File

Binary

Text File Operations

Open Files

Write to a File

Read from a File

Binary File Operations

Open Files

Write to a File

Read a File

Random File Access

Lab Exercises

CHAPTER 6: USING FUNCTIONS

Sub-topics

Declaring Functions

Recursion

Lab Exercises

CHAPTER 7: EXCEPTION HANDLINGGoal: Covers exception and error handling

Sub-topics

Types of Exception

Catching Exceptions

Raising your Own Exceptions

CHAPTER 8: OBJECT ORIENTED PROGRAMMING

Goal: OOP principles, classes, objects and inheritance

Sub-topics

Principles of OOP

Encapsulation

Inheritance

Polymorphism

Abstraction

Classes & Objects

Class Inheritance

Polymorphic Classes

Method Overriding

CHAPTER 9: BUILDING AN INTERFACE

Goal: Building an interface using tkinter

Sub-topics

Creating a Window

Adding Widgets

Menus

The Canvas

Images

Buttons

Message BoxesText Field

Listbox

Checkbox

Labels

Label Frame

Interface Design

CHAPTER 10: DEVELOPING A GAME

Sub-topics

Installing PyGame

Opening a Window

Adding an Image

The Game Loop

The Event Loop

Shapes

Basic Animation

CHAPTER 11: PYTHON WEB DEVELOPMENT

Sub-topics

Web Servers

Executing a Script

Python Web Frameworks

QUICK REFERENCE

Data Types

Numeric Operators

Comparison Operators

Boolean Operators

String Operators

List Operators

Dictionary Operators

String Methods

List Methods

Dictionary Methods

Functions

Files

Conditional

Multi Conditional

While LoopFor Loop

Loop Control

Modules

Built in Functions

Declare a Class

Child Class

Create Object

Call Object Method

Artikel-Details

Anbieter:
Apress
Autor:
Kevin Wilson
Artikelnummer:
9781484287163
Veröffentlicht:
07.10.22

Barrierefreiheit

This PDF does not fully comply with PDF/UA standards, but does feature limited screen reader support, described non-text content (images, graphs), bookmarks for easy navigation and searchable, selecta

  • keine Vorlesefunktionen des Lesesystems deaktiviert (bis auf) (10)
  • navigierbares Inhaltsverzeichnis (11)
  • logische Lesereihenfolge eingehalten (13)
  • kurze Alternativtexte (z.B für Abbildungen) vorhanden (14)
  • Inhalt auch ohne Farbwahrnehmung verständlich dargestellt (25)
  • hoher Kontrast zwischen Text und Hintergrund (26)
  • Navigation über vor-/zurück-Elemente (29)
  • alle zum Verständnis notwendigen Inhalte über Screenreader zugänglich (52)
  • Kontakt zum Herausgeber für weitere Informationen zur Barrierefreiheit (99)