目录
- 基础安装
- 附加题
- 参考书
- 使用指北目录
本系列使用的程序编译平台为 Anaconda 集成的 Spyder,当然我一般不用它。我使用iPython运行独立程序,Jupyter运行可视化和机器学习任务,VScode运行Web开发任务。不过Spyder这种所见即所得的界面非常适合初学者。
现在让我们开始吧 :D
1. 基础安装
1.1 安装anaconda集成平台:集成Python及一些有用的东西嘿嘿
anaconda https://www.anaconda.com/download/#macos

1.2 打开终端:这是启动一些应用的地方

1.3 打开Spyder:以后你就会在这儿和程序打交道
下面进入“写程序-运行程序”的阶段
- “启动台-终端”:输入 spyder
- 按回车
- 喝一口奶茶,等一会儿


1.4 准备好放代码的文件夹:希望你的文件夹不要像我的书桌一样
“访达”创建一个存放代码的文件夹,放置在任意你喜欢的位置(这里我起名为workplace,ref to Eclipse LOL)我的代码放置在workplace/jianshu/

1.5 运行第一个程序:经典HelloWorld,意味着你开始创造新生命了
写一个 hello world,保存。

运行hello.py (点击左数第7个绿色的播放键▶️)

1.6 在命令行运行一个程序:条条大路通罗马
在“启动台-终端”运行程序

2. 附加题
2.1 使用zsh代替终端:我不喜欢色彩单一的交互

参考这个教程或者直接百度一下:Mac 使用iterm2和zsh
3. 参考书
这里列出的参考书是我认为可能对新手学习Python较为有用的书籍,不定时更新:
- Head First in Python 中文版
4. 使用指北目录
- 当我们在谈论【爬虫】
- 想清楚开始的理由
- 准备安装一些“软件”
- 一个简单的爬虫
- 解析网页
- 存储数据
- 很多目标
- 很多爬虫
- 重新出发
网友评论