上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 37 下一页
摘要: def _split_camel_case(string): tokens = [] token = [] for prev, char, next in zip(' ' + string, string, string[1:] + ' '): print(prev, char, next) if 阅读全文
posted @ 2021-04-13 16:24 该显示昵称已被使用了 阅读(448) 评论(0) 推荐(0)
摘要: import sys from collections import MutableMapping from .platform import PY3, IRONPYTHON from .robottypes import is_dict_like, is_unicode def normalize 阅读全文
posted @ 2021-04-13 11:35 该显示昵称已被使用了 阅读(51) 评论(0) 推荐(0)
摘要: robot中的timestamp的概念 20210406-104142.897 字符串类型 源码 import time import sys IRONPYTHON = sys.platform == 'cli' def is_number(item): return isinstance(item 阅读全文
posted @ 2021-04-13 10:07 该显示昵称已被使用了 阅读(72) 评论(0) 推荐(0)
摘要: 定义 if PY2: # io.StringIO only accepts u'foo' with Python 2. from StringIO import StringIO def py2to3(cls): if hasattr(cls, '__unicode__'): cls.__str__ 阅读全文
posted @ 2021-04-06 15:31 该显示昵称已被使用了 阅读(59) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s/ZnBzGL3wlWIVONrUV7_EPQ Echarts # 1. from django.http import JsonResponse from django.shortcuts import render def index_view 阅读全文
posted @ 2021-04-06 13:12 该显示昵称已被使用了 阅读(160) 评论(0) 推荐(0)
摘要: def 函数定义不会执行里面的语句 class 类的定义会执行里面的语句 def test_func(): print("test_func") # 不会执行 class setter(object): def __init__(self, method): self.method = method 阅读全文
posted @ 2021-04-06 10:25 该显示昵称已被使用了 阅读(1001) 评论(0) 推荐(0)
摘要: 分类 在变量、方法命名中有下列几种情况: 0. xx 公有变量/方法 1. _xx 前置单下划线 2. __xx 前置双下划线 3. __xx__ 前后双下划线 4. xx_ 后置单下划线 结论 1. _名 的变量、函数、类在使用 from xxx import * 时都不会被导入。 2. __名字 阅读全文
posted @ 2021-04-06 10:07 该显示昵称已被使用了 阅读(91) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/liaohuiqiang/p/7247393.html 概述 # 1 # coding:utf-8 # 开头的encoding是对于文件内容的编码 # 2 import sys reload(sys) sys.setdefaultencoding('u 阅读全文
posted @ 2021-04-04 12:04 该显示昵称已被使用了 阅读(136) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/88048361 https://pythonav.com/wiki/detail/6/88/ 阅读全文
posted @ 2021-04-02 06:37 该显示昵称已被使用了 阅读(78) 评论(0) 推荐(0)
摘要: * C&M plane:控制和管理数据流,用于节点的操作,管理和维护。 * User Plane: User Plane涵盖下面三个数据流: * a) 数据流将从无线电基站传输到用户设备(UE),反之亦然。 * b) 与a)相关的实时控制数据。 * c) 其他协议平面/流 未涵盖的其他eCPRI流。 阅读全文
posted @ 2021-04-01 11:17 该显示昵称已被使用了 阅读(399) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 37 下一页