随笔分类 -  学习

摘要:1. get the unicode of a character // python code = ord(u"印") print(code, type(code)) """ Result: 21360 <class 'int'> """ 阅读全文
posted @ 2022-12-22 10:45 shendawei 阅读(18) 评论(0) 推荐(0)
摘要:1. Ireland TCD(圣三一) €25000 UCD(都柏林) € UCC(科克) € 阅读全文
posted @ 2022-12-06 16:07 shendawei 阅读(61) 评论(0) 推荐(0)
摘要:1 java数据类型 boolean 1bit byte 1字节 char 2字节 short 2字节 int 4字节 float 4字节 long 8字节 double 8字节 2 c语言数据类型 char 1字节 short 2字节 int 4字节 float 4字节 long 4字节 doub 阅读全文
posted @ 2020-09-03 14:30 shendawei 阅读(71) 评论(0) 推荐(0)
摘要:一、 阅读全文
posted @ 2020-07-17 15:43 shendawei 阅读(58) 评论(0) 推荐(0)
摘要:一、copy.copy() import copy a = [1,2,3] b = a c = copy.copy(a) b:指向a内存地址,a变 --> b变 c:重新开辟内存,与a无关 二、\r 、\n 区别 三、decode(解码),encode(编码) 四、json Python Json 阅读全文
posted @ 2020-07-17 13:22 shendawei 阅读(87) 评论(0) 推荐(0)
摘要:一、数据类型 1.基础 0渔:( **kwargs) 传:1. name = ... 2. 字典 **{,,,,} ( *args) 可变长度的列表(元祖) ( **kwargs) 可变长度的字典 *[] 遍历元素 print 默认换行,如需取消,可更改为 print('aaa',end = '\t 阅读全文
posted @ 2020-07-17 13:16 shendawei 阅读(106) 评论(0) 推荐(0)