Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.37 KB

README.md

File metadata and controls

61 lines (44 loc) · 1.37 KB

python

查看python排行:
http://www.tiobe.com/index.php/tiobe_index

本书全部来自互联网,并经过实践。Python官网:https://www.python.org/

本书编写:gitbook
https://www.gitbook.com/editor/windows

服务器环境

1、安装gitbook

#ubuntu
apt-get update
apt-get install -y build-essential
curl -sL https://deb.nodesource.com/setup | sudo bash -
apt-get install nodejs
#centos
#添加epel源
curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -
yum install -y nodejs
#使用淘宝cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
npm config set registry https://registry.npm.taobao.org 
#安装gitbook
cnpm install -g gitbook-cli
#启动服务
gitbook serve

2、gitbook使用

  • 使用 gitbook init 初始化书籍目录
  • 使用 gitbook serve 编译书籍
mkdir book
gitbook init
#启动服务
gitbook serve

3、python环境

参考:

https://github.com/jqlinux/sublime-python/blob/master/sublime-window-64/readme.txt

#支持中文输入:https://github.com/lyfeyaj/sublime-text-imfix

建议使用Ubuntu 16.04 ,原因方便安装python环境,apt 包含python3.5环境。