Skip to Content
Python数据处理
book

Python数据处理

by Jacqueline Kazil, Katharine Jarmul
July 2017
Intermediate to advanced
398 pages
11h 54m
Chinese
Posts & Telecom Press
Content preview from Python数据处理
338
附录C
学习命令行
有一个强大的开发工具,就是只用命令行来控制计算机的能力。无论你用的是哪种操作系
统,懂得直接与计算机交互的方法,可以让你的数据处理任务和编程任务事半功倍。我们
并不是说你要成为系统管理员,但擅于通过命令行来控制计算机是很有用的。
作为一名开发人员,最有成就感的事情之一就是能够对遇到的系统问题和代码问题进行调
试。通过命令行理解计算机的运行原理,可以让你深入理解这些问题。如果你遇到了系统
错误,并使用本书学到的调试技巧,你可能会更了解自己的计算机和用到的操作系统,也
更了解如何用命令行更好地交互。在
Python
代码中遇到系统错误时,你就会在调试并解决
这些问题时快人一步。
本附录中我们会讲到
bash
(在
Mac
和许多
Linux
上使用)的基础知识,也会讲到
Windows
cmd
PowerShell
程序的基础知识。我们这里只是做一个简要的介绍,但我们建议你继
续深入学习。在每一小节我们都给出了进一步阅读的建议。
C.1
 
bash
如果你用的是基于
bash
的命令行,你在
C.1.1
节学到的内容也同样适用于任意基于
bash
的客户端,这和你当前使用的操作系统无关。太酷了!
bash
是一种功能强大的
shell
语言
(或命令行语言)。我们开始学习
bash
,首先来看如何在计算机中浏览文件。
C.1.1
 跳转命令
在命令行中浏览计算机可以帮你理解用
Python
如何做到这一点。停留在终端或文本编辑器
中,可以让你保持专注。
学习命令行
339
我们首先来看基本命令。打开终端。打开的终端可能会位于
~
文件夹,代表你的 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

数据科学中的实用统计学(第2版)

数据科学中的实用统计学(第2版)

Peter Bruce, Andrew Bruce, Peter Gedeck
Java持续交付

Java持续交付

Daniel Bryant, Abraham Marín-Pérez
解密金融数据

解密金融数据

Justin Pauley

Publisher Resources

ISBN: 9787115459190