上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 37 下一页
摘要: 带参数装饰器 def get_decorator(errors=(Exception, ), default_value=''): def decorator(func): def new_func(*args, **kwargs): try: return func(*args, **kwargs 阅读全文
posted @ 2021-07-27 14:50 该显示昵称已被使用了 阅读(67) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/102144412 PSK: 载波的相位变化,幅度不变化:π/2-BPSK, QPSK。这就是前面说的PSK(Phase-Shift keying相移键控)。 QAM 载波的相位和幅度都变化:16QAM, 64QAM,256QAM。这一类专业 阅读全文
posted @ 2021-07-26 15:35 该显示昵称已被使用了 阅读(127) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u013634684/article/details/49646311 阅读全文
posted @ 2021-07-26 11:12 该显示昵称已被使用了 阅读(39) 评论(0) 推荐(0) 编辑
摘要: https://www.zhihu.com/question/22298352 阅读全文
posted @ 2021-07-23 16:21 该显示昵称已被使用了 阅读(25) 评论(0) 推荐(0) 编辑
摘要: aliasing ''' ################## ''' # # class Animal: # def __init__(self, favourite_food): # self.favourite_food = favourite_food # # # class Zoo: # 阅读全文
posted @ 2021-07-22 17:13 该显示昵称已被使用了 阅读(44) 评论(0) 推荐(0) 编辑
摘要: https://yunfwe.cn/2019/09/23/2019/LXC%20Linux%E7%B3%BB%E7%BB%9F%E5%AE%B9%E5%99%A8/ 阅读全文
posted @ 2021-07-21 16:50 该显示昵称已被使用了 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 代码 # wraps的参数是原来的函数,修饰返回的函数 def _implicit_lookup(self, subroutine, arg_name): # feed 里面查找 animal replacer = ArgumentReplacer(subroutine, arg_name) @wr 阅读全文
posted @ 2021-07-20 17:20 该显示昵称已被使用了 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 【原始】打开记事本 def createFile(filename): if os.path.exists(filename) == False: open(filename, "a").close() if os.path.getsize(filename): pass else: f = ope 阅读全文
posted @ 2021-07-20 14:24 该显示昵称已被使用了 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 为什么要使用闭包 # 参考 https://juejin.cn/post/6844903878111019022 # 闭包模板 def closure4 = { x, y -> println("x is ${x}, y is ${y}") } // 省略类型 Closure closure6 = 阅读全文
posted @ 2021-07-19 13:28 该显示昵称已被使用了 阅读(82) 评论(0) 推荐(0) 编辑
摘要: show = { println it } square_root = { Math.sqrt(it) } def please(action) { [the: { what -> [of: { n -> action(what(n)) }] }] } please show the square_ 阅读全文
posted @ 2021-07-19 13:16 该显示昵称已被使用了 阅读(22) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 37 下一页