官术网_书友最值得收藏!

Chapter 1. Current Status of Python

Python is good for developers.

No matter what operating system you or your customers are running, it will work. Unless you are coding platform-specific things, or using a platform-specific library, you can work on Linux and deploy on other systems, for example. However, that's not uncommon anymore (Ruby, Java, and many other languages work in the same way). Combined with the other qualities that we will discover throughout this book, Python becomes a smart choice for a company's primary development language.

This book is focused on the latest version of Python, 3.5, and all code examples are written in this version of the language unless another version is explicitly mentioned. Because this release is not yet widely used, this chapter contains some description of the current status quo of Python 3 to introduce readers to it, as well as some introductory information on modern approaches to development in Python. This chapter covers the following topics:

  • How to maintain compatibility between Python 2 and Python 3
  • How to approach the problem of environment isolation both on application and operating system level for the purpose of development
  • How to enhance the Python prompt
  • How to install packages using pip

A book always starts with some appetizers. So, if you are already familiar with Python (especially with the latest 3.x branch) and know how to properly isolate environments for development purposes, you can skip the first two sections of this chapter and just read the other sections quickly. They describe some tools and resources that are not essential but can highly improve productivity in Python. Be sure to read the section on application-level environment isolation and pip, though, as their installation is mandatory for the rest of the book.

主站蜘蛛池模板: 舞钢市| 莱州市| 翁源县| 周至县| 五指山市| 依兰县| 清水县| 南靖县| 澄江县| 桃园市| 略阳县| 博兴县| 江城| 抚远县| 青龙| 大石桥市| 阳江市| 富宁县| 台中县| 白沙| 宿迁市| 宿迁市| 休宁县| 上犹县| 日土县| 九江县| 庐江县| 绍兴市| 淮北市| 唐海县| 门头沟区| 莫力| 儋州市| 义马市| 玉环县| 张家港市| 南宫市| 开化县| 古蔺县| 长治市| 银川市|