Python for Everybody

This book assumes that everyone needs to know how to program, and that once you know how to program you will figure out what you want to do with your newfound skills.

While this book is not intended for professional programmers, professional programming can be a very rewarding job both financially and personally. Building useful, elegant, and clever programs for others to use is a very creative activity

Table of contents

  • Why should you learn to write programs?
  • Creativity and motivation
  • Computer hardware architecture
  • Understanding programming
  • Words and sentences
  • Conversing with Python
  • Terminology: Interpreter and compiler
  • Writing a program
  • What is a program?
  • The building blocks of programs
  • What could possibly go wrong?
  • Modulus operator
  • String operations
  • Asking the user for input
  • Conditional execution
  • Boolean expressions
  • Logical operators
  • Conditional execution
  • Short-circuit evaluation of logical expressions
  • Function calls
  • Adding new functions
  • Definitions and uses
  • Flow of execution
  • Parameters and arguments
  • Exercises
  • The while statement
  • Counting and summing loops
  • Maximum and minimum loops
  • Debugging
  • Getting the length of a string using len
  • Traversal through a string with a loop
  • String slices
  • Strings are immutable
  • Looping and counting
  • The in operator
  • String comparison
  • String methods
  • Parsing strings
  • Format operator
  • Debugging
  • Glossary
  • Exercises
  • Files
  • iii CONTENTS
  • Letting the user choose the file name
  • Using try, except, and open
  • Writing files
  • Debugging
  • Glossary
  • Lists are mutable
  • Traversing a list
  • List operations
  • List slices
  • List methods
  • Deleting elements
  • Lists and functions
  • Lists and strings
  • Parsing lines
  • Objects and values
  • Aliasing
  • List arguments
  • Debugging
  • Glossary
  • Exercises
  • Dictionaries
  • Dictionary as a set of counters
  • Dictionaries and files
  • Looping and dictionaries
  • Advanced text parsing
  • Debugging
  • Tuples are immutable
  • Comparing tuples
  • Tuple assignment
  • Dictionaries and tuples
  • Multiple assignment with dictionaries
  • The most common words
  • Combining searching and extracting
  • Escape character
  • Networked programs
  • Hypertext Transfer Protocol - HTTP
  • The world’s simplest web browser
  • Retrieving an image over HTTP
  • Retrieving web pages with urllib
  • Reading binary files using urllib
  • Parsing HTML and scraping the web
  • Parsing HTML using regular expressions
  • Parsing HTML using BeautifulSoup
  • Bonus section for Unix / Linux users
  • Looping through nodes
  • JavaScript Object Notation - JSON
  • Parsing JSON
  • Application Programming Interfaces
  • Security and API usage
  • Using objects
  • Starting with programs
  • Subdividing a problem
  • Using Databases and SQL
  • What is a database?
  • Database concepts
  • Database Browser for SQLite
  • Creating a database table
  • Structured Query Language summary
  • Spidering Twitter using a database
  • Basic data modeling
  • Programming with multiple tables
Size : 2336.78 Kb
File type : pdf
Downloads: 1480
Created: 2019-09-09
Python for Everybody

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Python Tutorials

Python for You and Me

Python Machine Learning Projects

Deep Learning with Python

Processing WSDL in Python

Fundamentals of Python Programming

Others related eBooks about Python for Everybody

Kotlin tutorial in PDF

This Kotlin pdf tutorial will teach you how to develop with Kotlin on Android Studio as part of the mobile development for Android platforms....

Java for Small Teams

This book is an attempt to capture what good Java code looks like and the practices that help produce it. This document is intended for consumption by anyone involved with writing server side Java code. From developers writing Java for the first time through to seasoned technical leads serving multi...

Building Back-End Web Apps with Java, JPA and JSF

This book shows how to build back-end web applications with Java, JPA and JSF. A back-end web app is a distributed web app where essentially all work is performed by the back-end component, including data validation and UI page creation, while the front-end only consists of a web browser's renderi...

Certified Programming with Dependent Types

Download free course Certified Programming with Dependent Types, pdf file on 368 pages by Adam Chlipala....

Learning ABAP PDF course

Download free ABAP tutorial course in PDF, training file in 16 chapters and 42 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Scratch programming PDF tutorial

Download free PDF tutorial about Scratch programming, document under 29 pages by Neil Rickus....

Bash programming ebook for professionals

Download free bash tutorial course in PDF, training file in 67 chapters and 204 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Introduction to Microsoft Word 2010

Download free training document in PDF intituled Introduction to Microsoft Word 2010, course on 159 pages for beginners....

Classical Object-Oriented Programming with ECMAScript

Download free course Classical Object-Oriented Programming with ECMAScript, pdf file on 23 pages by Mike Gerwitz....

RESTful Web Services

With this tutorial you will learn how to build a Web Services with REST protocol ,a free training document material under 148 pages by John Cowan....