Python in Easy Steps, 2nd Edition : Makes Programming Fun!
Material type:
- text
- computer
- online resource
- 9781840788365
- 005.133
- QA76.73.P98 M347 2018
Intro -- Title -- Copyright -- Contents -- Preface -- 1 Getting started -- Introducing Python -- Installing Python on Windows -- Installing Python on Linux -- Meeting the interpreter -- Writing your first program -- Employing variables -- Obtaining user input -- Correcting errors -- Summary -- 2 Performing operations -- Doing arithmetic -- Assigning values -- Comparing values -- Assessing logic -- Examining conditions -- Setting precedence -- Casting data types -- Manipulating bits -- Summary -- 3 Making statements -- Writing lists -- Manipulating lists -- Restricting lists -- Associating list elements -- Branching with if -- Looping while true -- Looping over items -- Breaking out of loops -- Summary -- 4 Defining functions -- Understanding scope -- Supplying arguments -- Returning values -- Using callbacks -- Adding placeholders -- Producing generators -- Handling exceptions -- Debugging assertions -- Summary -- 5 Importing modules -- Storing functions -- Owning function names -- Interrogating the system -- Performing mathematics -- Calculating decimals -- Telling the time -- Running a timer -- Matching patterns -- Summary -- 6 Managing strings -- Manipulating strings -- Formatting strings -- Modifying strings -- Converting strings -- Accessing files -- Reading and writing files -- Updating file strings -- Pickling data -- Summary -- 7 Programming objects -- Encapsulating data -- Creating instance objects -- Addressing class attributes -- Examining built-in attributes -- Collecting garbage -- Inheriting features -- Overriding base methods -- Harnessing polymorphism -- Summary -- 8 Processing requests -- Sending responses -- Handling values -- Submitting forms -- Providing text areas -- Checking boxes -- Choosing radio buttons -- Selecting options -- Uploading files -- Summary -- 9 Building interfaces -- Launching a window.
Responding to buttons -- Displaying messages -- Gathering entries -- Listing options -- Polling radio buttons -- Checking boxes -- Adding images -- Summary -- 10 Developing applications -- Generating random numbers -- Planning the program -- Designing the interface -- Assigning static properties -- Initializing dynamic properties -- Adding runtime functionality -- Testing the program -- Installing a freezing tool -- Freezing the program -- Summary -- Backcover.
Teaches you to program in the powerful Python language - the language used to program the Raspberry Pi. Create your own executable programs by copying the book's examples. Covers Python 3.7.
Description based on publisher supplied metadata and other sources.
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2024. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
There are no comments on this title.