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

Make Games with Python on Raspberry Pi

How To Code in Python 3

A Byte of Python

Learning Python Matplotlib

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

Others related eBooks about Python for Everybody

Download Hibernate Tutorial

Download free Hibernate Tutorial for Beginners, training course material, a PDF file created by coreservlets.com....

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...

RubyFu

This book is a great collection of ideas, tricks, and skills that could be useful for Hack..., download free Ruby tutorial in PDF (281 pages) created by RubyFu ....

Agile Processes, in Software Engineering, and Extreme Programming

Download free course Agile Processes, in Software Engineering, and Extreme Programming, pdf file on 343 pages by by Helen Sharp, Tracy Hall....

Python Machine Learning Projects

Download free course Python Machine Learning Projects, pdf file on 135 pages by Lisa Tagliaferri, Michelle Morales, Ellie Birkbeck, Alvin Wan....

Problem Solving with Algorithms and Data Structures Using Python

THIS TEXTBOOK is about computer science. It is also about Python. However, there is much more. The study of algorithms and data structures is central to understanding what computer science is all about. Learning computer science is not unlike learning any other type of difficult subject matter. Th...

: Just Enough R: Learn Data Analysis with R in a Day

Learn R programming for data analysis in a single day. The book aims to teach data analysis using R within a single day to anyone who already knows some programming in any other language. The book has sample code which can be downloaded as a zip file. ...

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....

Getting started with Swift language

Download free Swift tutorial course in PDF, training file in 60 chapters and 353 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Programming Language C++

Download free C++ tutorial , course training on pdf under 1368 pages by Richard Smith....