Python 3: Combat Guide and Exercises for beginners
Python 3: Combat Guide and Exercises for beginners
About the Bundle
Bundle of Python 3 Combat Guide, for Seniors, and Python 3 exercises for beginners, for Juniors.
Python 3 exercises for beginners is written in 3 languages: English, Catalan and Spanish.
Python Combat Guide
A comprehensive manual about tricks, good practices and coding style for hands on Software Developer Managers and Developers
Python 3 Combat Guide
Is a practical guide, to setup projects from zero, or to improve existing ones.
V. 1.08 (108 - 2022-05-11) across 403 pages DIN A4, in PDF format DRM-free, provides comprehensive explanations with code samples, tips and trick, nice to do and don't-do-this.
Is a very practical guide, covering many aspects, talking superficially about many things interesting things to know like using Docker, Jenkins, Puppet, Infrastructure as code, Blue/green, canary deployment, git... and going in deep to some good practices, with a lot of source code samples.
Explain how to setup Unit Testing with pytest from the scratch, PyCharm and does some practical TDD with examples.
Make easy to use Virtual Environments and how to create your own PIP Packages.
What is it?
A very practical hands on manual for companies working with Python 3.6 or greater (and moving from Python 2.7 to Python 3).
I explain my experience working in several actual projects, different sizes and teach good practices.
Like the title suggest is a Combat Guide: read it and start crushing it!.
Is the Master Class that your best friend working in a multinational will teach you to help to improve how you and your Team work.
Having in consideration Operations Engineers, SRE and SysAdmins, it explains how to move from Procedural code to OOP, and how and why to use Interfaces and Base classes (Parent) and children (subclasses).
I use practical examples, and compare Bash and Python for different scenarios, and I show pytest Unit Testing from the scratch.
Probably you'll love it if you know Java or PHP cause in 5 hours will enable you to write code in Python.
I also provide a very simple Flask Web Application, so you see how easy it is, a mini OOP application working against MySQL in Docker, a simple SQLITE3 example, a simple GUI TKinter LDAP application, Cron Jobs that send email, Sorting Data Structures using .sort(), sorted() and lambdas, Docker samples...
When possible instructions are provided for Ubuntu Linux, Mac Os X and Windows.
I reduced the price suggested to $15 with a minimum of $11.
You may still benefit from offers handled from LeanPub, and bundles.
I released this guide during coronavirus quarantine, in Ireland, in early 2020.
This is a technical guide, intended to serve to all level of Medium-Senior Developers and to SDMs (SDM - Software Development Managers).
Also useful for Team Leads and Project Managers..
It is not a basic manual, however I want to give a chance to non-tech people to learn how to program in Python, so they can get a good life or in the case of the scientists and academics that lost their jobs in the universities and need to go back to the market. Many of them use tools like Jupyter Notebook with Python, so they only need a Master Class and examples to empower them to work in modern projects, with Git, Unit Testing, nice good practices, Team work...
What is not?
A typical manual to learn Python for beginners.
If you're looking for this, this is not your book.
Is focused on writing CLI programs, Crons, Unit Testing and shows some Flask but does not cover Django.
It is not a manual to learn specific Python language features in deep.
Code is based in Python 3.6.
Does not cover new features on Python 3.7, 3.8, 3.9 or 3.10 as the code I write tries to work across many different versions of Python deployed in Servers running them.
It is not specialized in Performance. I mention some tricks for performance, but I don't explain functools.
Neither explain Architecture Patterns like Event Queues or Microservices. Or how to write API's, there are many books for that.
It just go for pointing the effective way to build CMD Line applications, Crons, use Dependency Injection, and Unit Testing in a very professional way.
Also cover certain common sense aspects for working in Team, good practices, and some Scaling tricks.
So basically allowing SRE, DevOps and Managers to improve the way they run Command Line Applications, Server side scripting, Server Monitoring...
Currently I don't cover Google Cloud Python Engine or Amazon AWS lambda with Python, although I have plans to do it.
I think you will learn many useful things, but if you buy it and you are not satisfied, please feel free to return it. When you buy it you have a period of time to return it, which at the moment of this writing is 45 days. I only had one return, and it was a professional editorial that wanted to sell the book in the States and world wide. But honestly, I like to keep all the rights and to be able to communicate with you and to update the book often. ;)
Is the code in gitlab?
Yes, most of the code is in gitlab, so you can download and just run it.
However is better to follow the book, as there are some errors intended, in order to show what not to do, and without reading the book you'll not understand it.
Even if you didn't buy the book, feel free to download the source code in gitlab:
The Python with MySQL in Docker sample application can be downloaded from here:
Updates to this version 1.08 2022-05-11:
- Added an example of .copy() for Arrays and mention to deepcopy
- Example on how to sort a dictionary of key/counter
- Improvements to MT Notation updated
- Added packages recommended: colorama, pynput, bisect
- Added Personal WebServer examples.
- Added examples of Python misbehaving with Floats.
- Explanations about redefining reserved keywords like print or exit as a variable.
- Style modification to add lines over the line number and over the Footnote.
Python 3 Exercises for beginners
Easy exercises for starting coders
This book pretends to fill a gap between the Python books.
Written by Carles Mateo, with Sandra Soriano and Albert Ballart as coautors, when Carles was teaching to different students he realized that there is a gap, between the moment the person is starting to program and finds no exercises easy enough to do. They are too difficult. Like in hackerrank.
This book provides very easy exercises to learn easily, and explanations abut the solutions achieved.
Then the difficulty increases, and the explanations provide a very valuable knowledge absorbed quickly and easily. Also examples that will clarify very basic doubts and not so basic ones.
It also provides useful recipes and samples, like building text menu applications, receiving input from keyboard, or using library paramiko to SSH to a Server with username and password and execute a command. Also I show how I created a Battleship game, a Guess my number game, a Tic Tac Toe, graphics generation...
This book is written in three languages:
- English (Main)
Everything is available in the three languages.
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.