python 文章合集

1.format function(作分隔符以及左右对齐,进制标识说明) format函数格式化字符串的用法

2.heap memory | stack memory What is the difference between the stack and the heap?

3.yield from python3中的yield from语句 and In practice, what are the main uses for the new “yield from” syntax in Python 3.3?

4.the difference between while 1 and while True in python while (1) Vs. for while(True) — Why is there a difference?

5.Python bare asterisk in function argument

Parameters after “” or “identifier” are keyword-only parameters and may only be passed used keyword arguments.

6.The difference between type() and isinstance()

7.virtualenv Env not creating bin directory in Windows 7

8.[Python tuple and set] (http://blog.csdn.net/u010367506/article/details/32333027)
list —— 有序可变序列
tuple —— 有序不可变序列
set —— 可以看成数学意义上的无序和无重复元素的集合
add(), remove()。 Set 中的单个元素不能为可变元素,因为Set会对元素的内容哈希化操作。

a = {}
print(type(a))
a = {1,2}
print(type(a))
  1. Extending Python with C or C++

  2. WIKI WSGI

PEP 333 in Chinese

11.Difference between dir(…) and vars(…).keys() in Python?

class C(object):
    def m(self):
        print('print')

x = C()
print(dir(x),vars(x),sep='\n')
  1. MANIFEST.in file
image.png
  1. Descriptor HowTo Guide
    (一片很好的讲述描述符的文章)

  2. https://www.cnblogs.com/xybaby/p/6270551.html

15.SMTP发送QQ邮件

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 写作两月的酸甜苦辣 又逢周三,又逢项目组碰头会,上午刚刚报完一个非车项目,正好想休息一下的时候,项目组组长打电话过...
    黑马侦探阅读 200评论 0 1
  • 一、确定爬取页面 页面随机选取,学习用途,如侵权联系俺... 二、代码 三、运行结果 四、小结 爬取一个页面的难度...
    许山山阅读 546评论 0 0
  • 策马,走向贫瘠的荒凉 尘垢的旅途,怎能丈量 天涯的路究竟有多长 仰望,夕阳一脸的忧伤 把哀愁挂在大雁的翅膀 划过蒹...
    酒浓情伤阅读 404评论 0 2
  • 我前天嘴巴特馋,对烤肉念念不忘,本来打算趁周末去大快朵颐吃个尽兴的,结果我却未能如愿。 因为我找不到一个可以陪我去...
    明初的日记本阅读 1,197评论 3 3