摘要:
用于从一个列表生成一个新列表 格式 [表达式 for 变量 in 列表 if 条件] 例子: 0到100(不含100)的平方列表 [x 2 for x in range(0, 100)] 0到1000(不含1000)中,能被3或5整除的数 [x for x in range(0, 1000) if 阅读全文
摘要:
The Application example shows how to implement a standard GUI application with menus, toolbars, and a status bar. The example itself is a simple text 阅读全文