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: 1478
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 3 Tutorial for beginner

Automate the Boring Stuff with Python: Practical Programming for Total Beginners

Python Datetime free PDF

How To Code in Python 3

IPython Interactive Computing and Visualization Cookbook

Others related eBooks about Python for Everybody

Clever Algorithms

Download free course Clever Algorithms, pdf file on 454 pages by Jason Brownlee....

VB.NET Quick Guide

The purpose of this PDF tutorial is to provide a quick learning guide to programming for the students who wants to buils their own application with Microsoft VB.Net ....

How To Code in Python 3

An introduction to computer programming with Python 3. Helps the readers in learning the key concepts of Python and understanding how programs work while also imparting foundational logic that can serve the readers in other domains....

Essential Kotlin

This book written to provide clear and concise explanation of topics for programmers both starting to learn the Kotlin programming language as well as those diving in more complex topics. Most examples are linked to online playground that allows you to change the code and re-run it....

Think DSP: Digital Signal Processing in Python

This book is an introduction to signal processing and system analysis using a computational approach, using Python as the programming language. The premise of this book (like the others in the Think X series) is that if you know how to program, you can use that skill to learn other things. By the ...

Kotlin tutorial in PDF

Download free Kotlin tutorial course in PDF, training file in 38 chapters and 118 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Understanding Machine Learning

Download free course Understanding Machine Learning, pdf file on 449 pages by Shai Shalev-Shwartz, Shai Ben-David....

JavaScript Notes for Professionals

Download free course JavaScript Notes for Professionals, pdf file on 489 pages by Stack Overflow Community....

J2EE for NetBeans

Download free Java J2EE for NetBeans course material, tutorial training, a PDF file on 330 pages...

Introduction to Kotlin

This course is a quick tutorial about Kotlin programming langage intended to beginners to learn how to create Android apps, free training document under 4 pages....