Beginning Python: From Novice to Professional – Third Edition

فهرست مطالب:

About the Author

About the Technical Reviewer

Preface

Introduction

Chapter 1: Instant Hacking: The Basics

Chapter 2: Lists and Tuples

Chapter 3: Working with Strings

Chapter 4: Dictionaries: When Indices Won’t Do

Chapter 5: Conditionals, Loops, and Some Other Statements

Chapter 6: Abstraction

Chapter 7: More Abstraction

Chapter 8: Exceptions

Chapter 9: Magic Methods, Properties, and Iterators

Chapter 10: Batteries Included

Chapter 11: Files and Stuff

Chapter 12: Graphical User Interfaces

Chapter 13: Database Support

Chapter 14: Network Programming

Chapter 15: Python and the Web

Chapter 16: Testing, 1-2-3

Chapter 17: Extending Python

Chapter 18: Packaging Your Programs

Chapter 19: Playful Programming

Chapter 20: Project 1: Instant Markup

Chapter 21: Project 2: Painting a Pretty Picture

Chapter 22: Project 3: XML for All Occasions

Chapter 23: Project 4: In the News

Chapter 24: Project 5: A Virtual Tea Party

Chapter 25: Project 6: Remote Editing with CGI

Chapter 26: Project 7: Your Own Bulletin Board

Chapter 27: Project 8: File Sharing with XML-RPC

Chapter 28: Project 9: File Sharing II—Now with GUI!

Chapter 29: Project 10: Do-It-Yourself Arcade Game

Appendix A: The Short Version

Appendix B: Python Reference

Index

Introducing Python: Modern Computing in Simple Packages

فهرست مطالب:

Preface

CHAPTER 1 A Taste of Py

CHAPTER 2 Py Ingredients: Numbers, Strings, and Variables

CHAPTER 3 Py Filling: Lists, Tuples, Dictionaries, and Sets

CHAPTER 4 Py Crust: Code Structures

CHAPTER 5 Py Boxes: Modules, Packages, and Programs

CHAPTER 6 Oh Oh: Objects and Classes

CHAPTER 7 Mangle Data Like a Pro

CHAPTER 8 Data Has to Go Somewhere

CHAPTER 9 The Web, Untangled

CHAPTER 10 Systems

CHAPTER 11 Concurrency and Networks

CHAPTER 12 Be a Pythonista

Index

Python Basics: A Practical Introduction to Python 3

فهرست مطالب:

Contents

Foreword

Introduction

Setting Up Python

Your First Python Program

Strings and String Methods

Numbers and Math

Functions and Loops

Finding and Fixing Code Bugs

Conditional Logic and Control Flow

Tuples, Lists, and Dictionaries

Object-Oriented Programming (OOP)

Modules and Packages

File Input and Output

Installing Packages With pip

Creating and Modifying PDF Files

Working With Databases

Interacting With the Web

Scientiрc Computing and Graphing

Graphical User Interfaces

Final Thoughts and Next Steps