- 博客(2)
- 收藏
- 关注
原创 Python以及PyCharm中的中文输入
对于Python只需要在文件开头添加一句 # -*- coding:utf-8 -*- 同时文件保存也选择utf-8格式 就可以使用unicode编码 # -*- coding: utf-8 -*- print '''静夜思 床前明月光, 疑是地上霜。 举头望明月, 或者在在需要使用中文的字符串前加u 在PyCharm上遇到了一点小小的麻烦 # -*- codin
2015-02-02 22:22:24
2262
原创 Python中的排序
Life is short, you need Python. 初学Python,深感Python的简洁强大。 插入排序 def insertionSort(unorderlist): OrderNum = [] # Store the result of the sorting OrderNum.append(unorderlist[0]) #Initialize t
2015-01-11 15:09:44
338
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人