上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 72 下一页
摘要: The simplest explanation for the variable (imho) is the following: Create the following files. Running them will get you this output: As you can see, 阅读全文
posted @ 2017-06-14 15:48 2021年的顺遂平安君 阅读(166) 评论(0) 推荐(0)
摘要: The simplest explanation for the __name__ variable (imho) is the following: Create the following files. # a.pyimport b # b.py... 阅读全文
posted @ 2017-06-14 15:48 2021年的顺遂平安君 阅读(29) 评论(0) 推荐(0)
摘要: Mounty for Mac brew cask install mounty 阅读全文
posted @ 2017-06-14 15:26 2021年的顺遂平安君 阅读(78) 评论(0) 推荐(0)
摘要: Mounty for Mac 阅读全文
posted @ 2017-06-14 15:26 2021年的顺遂平安君 阅读(363) 评论(0) 推荐(0)
摘要: ``` """ import my_module as mm courses = ['History','Math','Physics','CompSci'] index = mm.find_index(courses, 'Math') print (index) """ """ from my_module import find_index courses = ['History','... 阅读全文
posted @ 2017-06-14 14:08 2021年的顺遂平安君 阅读(246) 评论(0) 推荐(0)
摘要: """import my_module as mmcourses = ['History','Math','Physics','CompSci']index = mm.find_index(courses, 'Math')print (index)""""... 阅读全文
posted @ 2017-06-14 14:08 2021年的顺遂平安君 阅读(56) 评论(0) 推荐(0)
摘要: 继承 class Character(object): def __init__(self, name): self.health = 100 self.name = name def printName(self... 阅读全文
posted @ 2017-06-13 22:06 2021年的顺遂平安君 阅读(46) 评论(0) 推荐(0)
摘要: 继承 覆盖 可以打印出子类: 阅读全文
posted @ 2017-06-13 22:06 2021年的顺遂平安君 阅读(191) 评论(0) 推荐(0)
摘要: 命令 systemctl list units 列出所有jobs/serviceList all units (where unit is the term for a job/service) systemctl start [NAME...] 启动 systemctl stop [NAME... 阅读全文
posted @ 2017-06-12 16:45 2021年的顺遂平安君 阅读(206) 评论(0) 推荐(0)
摘要: systemctl命令 systemctl list-units - 列出所有jobs/serviceList all units (where unit is the term for a job/service)systemctl start ... 阅读全文
posted @ 2017-06-12 16:45 2021年的顺遂平安君 阅读(70) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 72 下一页