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: 1482
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

The Coder's Apprentice: Learning Programming with Python 3

Full Speed Python

Annotated Algorithms in Python

A Practical Introduction to Python Programming

Think DSP: Digital Signal Processing in Python

Others related eBooks about Python for Everybody

Python and Coding Theory

This is the lecture notes for a course on Python and coding theory designed for students who have little or no programmig experience. You will learn some of the Python computer programming language and selected topics in coding theory....

Android™ Notes for Professionals

The fast-growing popularity of Android smartphones and tablets creates a huge opportunities for developers. If you're an experienced developer, you can start creating robust mobile Android apps right away with this professional guide....

Open Data Structures (in Java)

Download free course Open Data Structures (in Java), pdf file on 334 pages by Pat Morin....

Learning .NET Framework PDF course

Download free Dot net tutorial course in PDF, training file in 59 chapters and 241 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Data Mining and Analysis: Fundamental Concepts and Algorithms

The fundamental algorithms in data mining and analysis form the basis for the emerging field of data science, which includes automated methods to analyze patterns and models for all kinds of data, with applications ranging from scientific discovery to business intelligence and analytics. ...

Android Tutorial

This tutorial is a brief overview of some Android concepts designated to beginners who want to learn the basics of Android programming language. It's a free training couses in PDF under 48 pages by Larry Walters....

Programming for Computations - Python: A Gentle Introduction to Numerical Simulations with Python

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more...

C Programming Notes for Professionals

Download free course C Programming Notes for Professionals, pdf file on 341 pages by Stack Overflow Community....

Making Games with Python & Pygame

Making Games with Python & Pygame covers the Pygame library with the source code for 11 ga..., download free Game Development tutorial in PDF (365 pages) created by ....

Regression Models for Data Science in R

The ideal reader for this book will be quantitatively literate and has a basic understandi..., download free Data Science in R tutorial in PDF (144 pages) created by Brian Caffo ....