What is popular on STEEMIT, a web spider by Python(用Python编写网络爬虫分析STEEMIT上到底在流行什么)—— Part1:Tools and Environment(一:工具和环境)

in #steemit7 years ago

A few days ago, I mentioned that I do program sometimes in a post 'Introduceyourself: Hello Steemit! I'm Ryan'
(https://steemit.com/introduceyourself/@ryan.chiang/introduceyourself-hello-steemit-i-m-ryan)
After that, a Steemian asked me that what do I program, this is the answer
几天前,我在自我介绍那篇中提到了我有时候会写一些程序。后来有人在评论里问我写啥。这个就是答案啦!

This series is trying to solve a problem: How can I become popular on STEEMIT. Consider the conversion rate, 1st thing is know what other people are talking.
这个系列之所以诞生是为了解决一个问题:我要怎么做才能在STEEMIT上变得受欢迎呢?从转化率的角度来说,首先,STEEMIT上流行什么?

Start with this post, I'm going to show you steemians how to create a web spider by python to get the data from STEEMIT and use the data to do analysis.
从这篇文章开始,我将一步步的展示怎样用Python编写一个网页爬虫来从STEEMIT上获取数据并用之进行分析。

First of all, the program language is Python3.x. For convenience, We use Anaconda. Anaconda is a package which include a lot of lib that we often use.
首先,我们使用Python3.x版本。为了方便起见,我们会使用Anaconda,这是一个集成了日常经常使用到的库的包。

After that, we need a IDE to do the coding. I recommend Visual Studio Code.
然后,我们使用VSCode作为开发工具

OK, let's begin, First, open the official website of Anaconda to download the Python3.x and install it, you should see a page like this:
好了,让我们开始。首先,打开Anaconda的官网下载Python3.x集成包并安装。你将会看到如下图所示的页面
https://www.anaconda.com/

move your mouse on the "Products" , it will show a float panel like the following shows
将鼠标移动到Product选项上,会弹出一个浮动层,如下图所示

Click the linkbutton "download", then you will see a page like this:
点击Download按钮,你会看到如下页面

Scroll this page down, then you will see the choice as the following shows
往下滚动网页,你会看到如下的内容

Chose the target by the type of your system. After the click, the download with start automaticly, after downloading and installation. you can use the command "Python" in commandline to verify that if the installation is successful, if you see the version number like the following shows, that means it's already installed on your system.
根据系统类型选择下载的目标。在点击之后,下载会自动开始。在下载和安装完成之后,我们可以在命令行窗口中键入Python命令。如果你看见了类似下图的Python版本号反馈的话,说明安装成功了

OK, let's go to the next step, install the "Visual Studio Code".open the link
接下来,我们安装VSCode,打开以下链接
https://code.visualstudio.com/

then you will see the page like:
然后你会看见如下页面

Chose your system type and download
同样的,根据系统类型选择下载目标

After download and installation, start the VSCode, if you see something like the following shows, that means the installation is successful
在下载和安装之后,启动VSCode,如果你看见了如下界面的话,说明安装已经成功了

Now, we have what we need for the preparation. I'll show you how to create a web spider to get the data from STEEMIT in next post, see you next time.
现在,我们的准备工作已经完成了, 我将会在下一篇文章中向大家说明怎么创建一个网页爬虫来爬取STEEMIT的数据,下次见

Thanks for your time of reading, and hope you like it, if you do, please upvote and follow me
感谢您花时间阅读,希望你们会喜欢,如果喜欢的话,期望得到您的投票和关注
https://steemit.com/@ryan.chiang

Sort:  

Congratulations @ryan.chiang! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

Click here to view your Board

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @ryan.chiang! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!