Python 3和Python 2 大部分都是相同的,要知道具体不同的部分可以直接参考文档。这里记录的是我遇到的或者看书看到的Python 2和3的不同点。
sublime3上的Python3编码问题
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment