Hangyi

以大多数人的努力程度之低,根本轮不到拼天分。


  • 首页

  • 归档

  • 分类

  • 标签

Python3和Python2的区别

发表于 2018-01-21 | 更新于: 2018-02-05 | 分类于 编程 |

Python 3和Python 2 大部分都是相同的,要知道具体不同的部分可以直接参考文档。这里记录的是我遇到的或者看书看到的Python 2和3的不同点。

阅读全文 »

001TwoSum

发表于 2018-01-20 | 更新于: 2018-01-25 | 分类于 编程 |

题目

Given an array of integers, return indices of the two numbers such that they add up to a specific target.

You may assume that each input would have exactly one solution, and you may not use the same element twice.

阅读全文 »

sublime3上的Python3编码问题

发表于 2018-01-16 | 更新于: 2018-01-20 | 分类于 编程 |

问题描述

用Python打开Alice in the wonderland文本,sublime报错,命令行运行正常(卡了1整天)

报错的异常是

1
UnicodeDecodeError:'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)
阅读全文 »

《自控力》整理

发表于 2018-01-09 | 更新于: 2018-01-17 | 分类于 读书笔记 |

01 我要做,我不要,我想要:什么是意志力?为什么是意志力至关重要?

  • 意志力的第一法则:认识你自己

  • 核心思想:意志力实际上是“我要做”、“我不要”和“我想要”这三种力量。它们协同努力,让我们变成更好的自己。

阅读全文 »

2017年阅读小结

发表于 2018-01-04 | 更新于: 2018-01-14 | 分类于 读书笔记 |

一直想做个阅读小结,也不再等,明天再做了,明日复明日,明日何其多。

一直以为今年的阅读量应该蛮大的,结果我翻遍了所有的阅读软件,多看,静读天下,百度阅读,微信阅读,Kindle,和电脑端的,网盘的,统计了下一共29本。

阅读全文 »

test

发表于 2017-12-17 | 更新于: 2017-12-20 | 分类于 Setting |

2017年12月17日00:40:51

想搞一个博客想好久了,今天就把它弄起来吧

不管怎样,至少去弄了

Hello World

发表于 2017-12-17 | 更新于: 2017-12-17 |

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

12

Hangyi

17 日志
3 分类
14 标签
GitHub E-Mail
© 2017 — 2018 Hangyi | Site words total count: 37.9k
由 Hexo 强力驱动
|
主题 — NexT.Mist v5.1.3