Learn how to program with Python 3 from beginning to end. The book will be split into five parts.
Part One
The first part is the beginner section. In it you will learn all the basics of Python. From Python types (strings, lists, dictionaries) to conditional statements to loops. You will also learn about comprehensions, functions and classes and everything in between!
Part Two
This section will be a curated tour of the Python Standard Library. The intent isn't to cover everything in it, but instead it is to show the reader that you can do a lot with Python right out of the box. We'll be covering the modules I find the most useful in day-to-day programming tasks, such as os, sys, logging, threads, and more.
Part Three
This section is all intermediate level material. It covers the lamda, decorators, properties, debugging, testing, and profiling.
Part Four
Now things get really interesting! In part four, we will be learning how to install 3rd party libraries (i.e. packages) from the Python Package Index and other locations. We will cover easy_install and pip. This section will also be a series of tutorials where you will learn how to use the packages you download. For example, you will learn how to download a file, parse XML, use an Object Relational Mapper to work with a database, etc.
Part Five
The last section of the book will cover how to share your code with your friends and the world! You will learn how to package it up and share it on the Python Package Index (i.e. how to create an egg or wheel). You will also learn how to create executables using py2exe, bb_freeze, cx_Freeze and PyInstaller. Finally you will learn how to create an installer using Inno Setup.
Writing Style
This book is written using my original blogging style. This means that the chapters will be shorter than your usual programming textbook. Most chapters will most likely be less than 10 pages! The idea here is to get the reader up to speed on the subject, not to beat them over the head with it.
Thes my first in thes rainbow .and not the end.usefull but i like spong i want more.esp can i read it freely online.maybe i go to top to start but still gd to read thes laung and start int world where i will sleep not like strange.walking to future more confidant than sun in morning.
The introductory python book that I wish I’d had when I started out. Deviates from the standard drawn-out style — you know, coveting only the basics of data types, string formatting, conditionals, loops, functions, and classes, and leaving you scratching your head at where to go next to actually start developing python projects.
This book instead covers all this and more, rather succinctly. It’s split into 5 parts, with a total of 45 chapters. The first part (11 chapters) cover the usuals, but the book becomes much more “Pythonic” over the next four parts.
The second part covers useful features of the Python standard library, including working with CSV and XML files, the os and sys modules, SQLite, threading, and datetime. The third section gets into the functional aspects of Python — such as decorators and lambdas — and testing. The fourth part starts to get into actual Python development — so, virtual environments, pip, linting, and SQLAlchemy. The last part really dives into Python development — preparing your code for PyPI, creating installers, and generally how to deploy your code.
I’d recommend this to anyone looking to get into the meat of Python development, learning about useful modules and development tips in a streamlined way (no need to comb through blogs, stackoverflow, and the Python standard library initially, which can be overwhelming for newcomers). Best of all, it’s freely available to read online!