Python in easy steps

Mike McGrath, 1956-

Book - 2018

Python in easy steps, 2nd edition instructs you how to program in the powerful Python language, giving complete examples that illustrate each aspect with colourized source code. Python in easy steps, 2nd edition begins by explaining how to install the free Python interpreter so you can quickly begin to create your own executable programs by copying the books examples. It demonstrates all the Python language basics before moving on to provide examples of Object Oriented Programming (OOP) and CGI scripting to handle web form data. The book concludes by demonstrating how you can use your acquired knowledge to create and deploy graphical windowed applications. Python in easy steps, 2nd edition makes no assumption you have previous knowledge of ...any programming language so its ideal for the newcomer to computer programming. It has an easy-to-follow style that will appeal to programmers moving from another programming language, and to the student who is studying Python programming at school or college, and to those seeking a career in computing who need a fundamental understanding of computer programming. The Python 3.x language is under active development so frequent new releases are made available as small improvements are added to the language and Python in easy steps, 2nd edition features the very latest versions of Python at the time of publication. Python development is one of evolution, rather than revolution, so the examples provided in the book can be used in subsequent releases simply download the latest version of Python then follow the easy steps. Python is the language used to program the Raspberry Pi - covered by Raspberry Pi in easy steps and Raspberry Pi 3 in easy steps This second edition is updated to cover Python 3.7.

Saved in:

2nd Floor Show me where

005.133/PYTHON/McGrath
1 / 1 copies available
Location Call Number   Status
2nd Floor 005.133/PYTHON/McGrath Checked In
Subjects
Published
Leamington Spa, Warwickshire, U.K. : In Easy Steps [2018]
Language
English
Main Author
Mike McGrath, 1956- (author)
Edition
2nd edition
Physical Description
192 pages : color illustrations ; 23 cm
Bibliography
Includes index.
ISBN
9781840788129
  • 1. Getting started
  • 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
  • Index