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: 1464
Created: 2019-09-09
Python for Everybody

Others Python Tutorials

Non-Programmer's Tutorial for Python 3

Think Python: An Introduction to Software Design

How To Code in Python 3

Practices of the Python Pro

Learning Python Matplotlib

Others related eBooks about Python for Everybody

.NET Microservices

This guide is an introduction to developing microservices-based applications and managing ..., download free .NET tutorial in PDF (350 pages) created by Mike Rousos ....

Artificial Neural Networks

Artificial Neural Networks (ANN) are state-of-the-art, trainable algorithms that emulate certain major aspects in the functioning of the human brain. This gives them a unique, self-training ability, the ability to formalize unclassified information and, most importantly, the ability to make foreca...

Video Game Development in Unity

Download this free tutorial about Video Game Development in Unity, training document on 34 pages intended to beginners....

Get Started with Arduino

Download free course Get Started with Arduino, pdf file on 180 pages by Matt Bradshaw, Jo Hinchliffe, Dr Andrew Lewis, Jenny List, Brian Lough, Graham Morrison, John Wargo....

Is Parallel Programming Hard, And, If So, What Can You Do About It?

Download free course Is Parallel Programming Hard, And, If So, What Can You Do About It?, pdf file on 601 pages by Paul E. McKenney....

Fundamentals of C# programming

This tutorial is designated to learn the C# language and think like a programmer ,it's a free PDF document under 1122 pages for all level users....

VB.NET a complet tutorial for beginners

The purpose of this course is to provide a basic guide for student or people interested in Visual Basic dot net programming,it's a free training document for beginners....

Introduction to Spring MVC

This pdf tutorial is a step-by-step guide on how to develop a web application from scratch using the Spring Framework.Free training course material under 68 pages by Thomas Risberg, Rick Evans and Portia Tung....

Real-Time ASP.NET Core 3 Apps with SignalR Succinctly

Download free course Real-Time ASP.NET Core 3 Apps with SignalR Succinctly, pdf file on 81 pages by Dirk Strauss....

3D Game Development with LWJGL 3

Download free course 3D Game Development with LWJGL 3, pdf file on 371 pages by Self-publishing....