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数据处理
356
附录
D
我在
GitHub
上存储了设置文件(
https://github.com/jackiekazil/dotfiles
),这样我
总是有一个可用的备份。在我犯了错误或者计算机死机的时候,我总是可以恢
复它。当你不断调整文件,产生
20
个备份时,确保
home
文件夹不会产生混
乱。你很少会编辑
.bashrc
文件,但是在编辑这类文件之前,要备份它们。
使用编辑器打开
.bashrc
文件,在文件末尾添加下面三行代码。如果你没有为
Projects
文件
夹使用相同的位置,你需要相应地调整文件的路径:
export WORKON_HOME=$HOME/.envs
export PROJECT_HOME=$HOME/Projects/
source /usr/local/bin/virtualenvwrapper.sh
定义
WORKON_HOME
变量。这是存储
Python
环境变量的地方。这应该与你之前创建的环境
文件夹匹配。
定义
PROJECT_HOME
变量。这是你存储代码的地方。这应该与你之前创建的
Projects
(或
linux
项目)文件夹匹配。
初始化
virtualenvwrapper
,它让
virtualenv
更容易使用。
完成后,保存文件并打开一个新的终端窗口来加载新的设置。现在你就有了一个易于使用
的带有虚拟环境的命令集。
D.7.2
 安装
virtualenvwrapper-win
Windows
对于
Windows
系统,有一些额外的可选步骤会让你更轻松。首先,你需要安装
Windows ...
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