随笔分类 -  Python

摘要:第一种是对第二种的解释 运行结果 为什么 fn_2 call first_fn_1()与 test call second_fn_2()都会运行呢? 此时的fn_2 与test分别是传入first和second的变量f的名字 阅读全文
posted @ 2016-07-20 20:23 冷漠脸 阅读(276) 评论(0) 推荐(0)
摘要:转自http://www.jb51.net/article/63598.htm string.join(words[, sep])Concatenate a list or tuple of words with intervening occurrences of sep. The default 阅读全文
posted @ 2016-07-19 10:21 冷漠脸 阅读(328) 评论(0) 推荐(0)
摘要:转自http://www.cnblogs.com/zhcncn/p/3969419.html 1. Notepad++ ->"运行"菜单->"运行"按钮 2. 在弹出的窗口内输入以下命令: 然后点击“保存”,随意取一个名字,比如“RunPython”,为方便,配置一下快捷键(比如 Ctrl + F5 阅读全文
posted @ 2016-07-17 13:43 冷漠脸 阅读(871) 评论(0) 推荐(0)