Cassell, Laura.

Python Projects. - Hoboken : Wiley, 2014. - 1 online resource (384 p.) - eBooks on Demand .

Python® Projects; ABOUT THE AUTHORS; ABOUT THE TECHNICAL EDITORS; CREDITS; ACKNOWLEDGMENTS; CONTENTS; INTRODUCTION; CHAPTER 1: REVIEWING CORE PYTHON; Exploring the Python Language and the Interpreter; Reviewing the Python Data Types; Numeric Types: Integer and Float; The Boolean Type; The None Type; Collection Types; Strings; Bytes and ByteArrays; Tuples; Lists; Dictionaries; Sets; Using Python Control Structures; Structuring Your Program; Using Sequences, Blocks and Comments; Selecting an Execution Path; Iteration; Handling Exceptions; Managing Context; Getting Data In and Out of Python Interacting with UsersUsing Text Files; Extending Python; Defining and Using Functions; Generator Functions; Lambda Functions; Defining and Using Classes and Objects; Creating and Using Modules and Packages; Using and Creating Modules; Using and Creating Packages; Creating an Example Package; Using Third-Party Packages; Summary; CHAPTER 2: SCRIPTING WITH PYTHON; Accessing the Operating System; Obtaining Information About Users and Their Computer; Obtaining Information About the Current Process; Managing Other Programs; Managing Subprocesses More Effectively Obtaining Information About Files (and Devices)Navigating and Manipulating the File system; Plumbing the Directory Tree Depths; Working with Dates and Times; Using the time Module; Introducing the datetime Module; Introducing the calendar Module; Handling Common File Formats; Using Comma-Separated Values; Working with Config Files; Working with XML and HTML Files; Parsing XML Files; Parsing HTML Files; Accessing Native APIs with ctypes and pywin32; Accessing the Operating System Libraries; Using ctypes with Windows; Using ctypes on Linux; Accessing a Windows Application Using COM Automating Tasks Involving Multiple ApplicationsUsing Python First; Using Operating System Utilities; Using Data Files; Using a Third-Party Module; Interacting with Subprocesses via a CLI; Using Web Services for Server-Based Applications; Using a Native Code API; Using GUI Robotics; Summary; CHAPTER 3: MANAGING DATA; Storing Data Using Python; Using DBM as a Persistent Dictionary; Using Pickle to Store and Retrieve Objects; Accessing Objects with shelve; Analyzing Data with Python; Analyzing Data Using Built-In Features of Python; Analyzing Data with ittertools; Utility Functions Data Processing FunctionsTaming the Vagaries of groupby; Using itertools to Analyze LendyDB Data; Managing Data Using SQL; Relational Database Concepts; Structured Query Language; Creating Tables; Inserting Data; Reading Data; Modifying Data; Linking Data Across Tables; Digging Deeper into Data Constraints; Revisiting SQLite Field Types; Modeling Relationships with Constraints; Many-to-Many Relationships; Migrating LendyDB to an SQL Database; Accessing SQL from Python; Using SQL Connections; Using a Cursor; Creating the LendyDB SQL Database; Inserting Test Data; Creating a LendyDB API Exploring Other Data Management Options

A guide to completing Python projects for those ready to take their skills to the next levelPython Projects is the ultimate resource for the Python programmer with basic skills who is ready to move beyond tutorials and start building projects.The preeminent guide to bridge the gap between learning and doing, this book walks readers through the ""where"" and ""how"" of real-world Python programming with practical, actionable instruction. With a focus on real-world functionality, Python Projects details the ways that Python can be used to complete daily tasks and bring efficiency to businesses a

9781118908891 67.5 (NL)

Application software -- Development.
Computer programming.
Python (Computer program language).

Electronic books.

QA76.73 .P98