Book Image

Daniel Arbuckle's Mastering Python

By : Daniel Arbuckle
Book Image

Daniel Arbuckle's Mastering Python

By: Daniel Arbuckle

Overview of this book

Daniel Arbuckle's Mastering Python covers the basics of operating in a Python development environment, before moving on to more advanced topics. Daniel presents you with real-world solutions to Python 3.6 and advanced-level concepts, such as reactive programming, microservices, ctypes, and Cython tools. You don't need to be familiar with the Python language to use this book, as Daniel starts with a Python primer. Throughout, Daniel highlights the major aspects of managing your Python development environment, shows you how to handle parallel computation, and helps you to master asynchronous I/O with Python 3.6 to improve performance. Finally, Daniel will teach you the secrets of metaprogramming and unit testing in Python, helping you acquire the perfect skillset to be a Python expert. Daniel will get you up to speed on everything from basic programming practices to high-end tools and techniques, things that will help set you apart as a successful Python programmer.
Table of Contents (13 chapters)

Using version control

Version control is one of the fundamental tools for programmers in the modern world. It helps us with almost every aspect of a project, in one way or another. There are many version control systems and each of them is a topic in itself, so we're going to narrow our focus here and talk about how to do a few particularly useful things, using a specific version control system called Git.

Initializing Git

The first thing we need to do to use Git, after installing it of course, is to set up a folder as our Git repository. This only takes a couple of commands on the command line, as shown here:

After that, we move to the folders where we want the repository to be, that is, git init and git add. Once we...