內容簡介
準備好完成從新手到Python專傢的曆練瞭嗎?
《Python漫遊指南(影印版 英文版)》給齣瞭來自Python社區的實踐和第1選擇工具的內行指南,可以幫助那些希望嚮開源社區貢獻力量或是想基於Python技術創業的中級程序員更上一層樓,邁入Python高手的殿堂。
《Python漫遊指南(影印版 英文版)》包括三個不同的部分,匯集瞭超過百名Python社區成員的成果。首先,你將學習到如何設置、使用Python編輯工具;然後,將深入研究具有Python風格的代錶性代碼樣例;最後,將探索Python社區常用的代碼庫。
內頁插圖
目錄
Preface
Part I. Getting Started
1. Picking an Interpreter
The State of Python 2 Versus Python 3
Recommendations
So...3?
Implementations
CPython
Stackless
PyPy
Jython
IronPython
PythonNet
Skulpt
MicroPython
2. Properly Installing Python
Installing Python on Mac OS X
Setuptools and pip
virtualenv
Installing Python on Linux
Setuptools and pip
Development Tools
virtualenv
Installing Python on Windows
Setuptools and pip
virtualenv
Commercial Python Redistributions
3. Your Development Environment
Text Editors
Sublime Text
Vim
Emacs
TextMate
Atom
Code
IDEs
PyCharm/Intellij IDEA
Aptana Studio 3/Eclipse + LiClipse + PyDev
WingIDE
Spyder
NIN]A-IDE
Komodo IDE
Eric (the Eric Python IDE)
Visual Studio
Enhanced Interactive Tools
IDLE
IPython
bpython
Isolation Tools
Virtual Environments
pyenv
Autoenv
virtualenvwrapper
Buildout
Conda
Docker
Part II. Getting Down to Business
4. Writing Great Code
Code Style
PEP 8
PEP 20 (a.k.a. The Zen of Python)
General Advice
Conventions
Idioms
Common Gotchas
Structuring Your Project
Modules
Packages
Object-Oriented Programming
Decorators
Dynamic Typing
Mutable and Immutable Types
Vendorizing Dependencies
Testing Your Code
Testing Basics
Examples
Other Popular Tools
Documentation
Project Documentation
Project Publication
Docstring Versus Block Comments
Logging
Logging in a Library
Logging in an Application
Choosing a License
Upstream Licenses
Options
Licensing Resources
5. Reading Great Code
Common Features
HowDoI
Reading a Single-File Script
Structure Examples from HowDoI
Style Examples from HowDoI
Diamond
Reading a Larger Application
Structure Examples from Diamond
Style Examples from Diamond
Tablib
Reading a Small Library
Structure Examples from Tablib
Style Examples from Tablib
Requests
Reading a Larger Library
Structure Examples from Requests
Style Examples from Requests
Werkzeug
Reading Code in a Toolkit
Style Examples from Werkzeug
Structure Examples from Werkzeug
Flask
Reading Code in a Framework
Style Examples from Flask
Structure Examples from Flask
6. Shipping Great Code
Useful Vocabulary and Concepts
Packaging Your Code
Conda
VyPI
Freezing Your Code
PyInstaller
cx_Freeze
py2app
py2exe
bbFreeze
Packaging for Linux-Built Distributions
Executable ZIP Files
PartIII. Scenario Guide
7. User Interaction
Iupyter Notebooks
Command-Line Applications
GUI Applications
Widget Libraries
Game Development
Web Applications
Web Frameworks/Microframeworks
Web Template Engines
Web Deployment
8. Code Management and Improvement
Continuous Integration
System Administration
Server Automation
System and Task Monitoring
Speed
Interfacing with C/C++/FORTRAN Libraries
9. Software interfaces
Web Clients
Web APIs
Data Serialization
Distributed Systems
Networking
Cryptography
10. Data Manipulation
Scientific Applications
Text Manipulation and Text Mining
String Tools in Pythons Standard Library
Image Manipulation
11. Data Persistence
Structured Files
Database Libraries
A. Additional Notes
Index
前言/序言
Python is big. Really big. You just won't believe how vastly hugely mind-bogglingly big it is.
This guide is not intended to teach you the Python language (we ate lots of great resources that do that) but is rather an (opinionated) insider's guide to our community's favorite tools and best practices. The primary audience is new to mid-level Python programmers who are interested in contributing to open source or in beginning a career or starting a company using Python, although casual Python users should also find Part I and Chapter 5 helpful.
The first part will help you choose the text editor or interactive development environment that fits your situation (for example, those using Java frequently may prefer Eclipse with a Python plug-in) and surveys options for other interpreters that may meet needs you don't yet know Python c7ould address (e.g., there's a MicroPython implementation based around the ARM Cortex-M4 chip). The second section demonstrates Pythonic style by highlighting exemplary code in the open source community that w~l hopefully encourage more in-depth reading and experimentation with open source code. The final section briefly surveys the vast galaxy oflibraries most commonly used in the Python community-providing an idea of the scope of what
Python can do right now. All of the royalties from the print version of this book will be directly donated to the Django GirlsY (https://djangogirls.org/), a giddily joyous global organization dedicated to organizing free Django and Python workshops, creating open-sourced online tutorials, and curating amazing first experiences with technology Those who wish to contribute to the online version can read more about how to do it at our website (http://docs.python-guide.org/en/latest/notes/contribute/).
Python漫遊指南(影印版 英文版) epub pdf mobi txt 電子書 下載 2024
Python漫遊指南(影印版 英文版) 下載 epub mobi pdf txt 電子書