- Python Essentials
- Steven F. Lott
- 242字
- 2021-07-16 13:53:06
Chapter 1. Getting Started
Python comes on some computers as part of the OS. On other computers, we'll need to add the Python program and related tools. The installation is pretty simple, but we'll review the details to be sure that everyone has a common foundation.
Once we have Python, we'll need to confirm that Python is present. In some cases, we'll have more than one version of Python available. We need to be sure that we're using Python 3.4 or newer. To confirm that Python's available, we'll do a few interactions at Python's >>>
prompt.
To extend our foundation for the remaining chapters, we'll look at a few essential rules of Python syntax. This isn't complete, but it will help us write scripts and learn the language. After we've had more chances to work with simple and compound statements, the detailed syntax rules will make sense.
We'll also look at the Python "ecosystem", starting with the built-in standard library. We'll emphasize the standard library throughout this book for two reasons. First, it's immense—much of what we need is already on our computer. Second, and more important, studying this library is the best way to learn the finer points of Python programming.
Beyond the built-in library, we'll take a look at the Python Package Index (PyPI). If we can't find the right module in the standard library, the second place to look for extensions is PyPI—https://pypi.python.org.
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- SQL Server 2012數據庫技術及應用(微課版·第5版)
- Cross-platform Desktop Application Development:Electron,Node,NW.js,and React
- Mastering Python Scripting for System Administrators
- Apache Spark Graph Processing
- Microsoft Dynamics GP 2013 Reporting, Second Edition
- Mastering JBoss Enterprise Application Platform 7
- 零基礎輕松學SQL Server 2016
- 青少年學Python(第1冊)
- R Data Analysis Cookbook(Second Edition)
- 精通Python自動化編程
- Unity 2018 Shaders and Effects Cookbook
- Odoo 10 Implementation Cookbook
- 監控的藝術:云原生時代的監控框架
- Mastering Bootstrap 4