随笔分类 - 学习
摘要:1. get the unicode of a character // python code = ord(u"印") print(code, type(code)) """ Result: 21360 <class 'int'> """
阅读全文
摘要:1. Ireland TCD(圣三一) €25000 UCD(都柏林) € UCC(科克) €
阅读全文
摘要: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
阅读全文
摘要:一、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
阅读全文
摘要:一、数据类型 1.基础 0渔:( **kwargs) 传:1. name = ... 2. 字典 **{,,,,} ( *args) 可变长度的列表(元祖) ( **kwargs) 可变长度的字典 *[] 遍历元素 print 默认换行,如需取消,可更改为 print('aaa',end = '\t
阅读全文

浙公网安备 33010602011771号