摘要: 1.导出整个数据库 1mysqldump -u 用户名 -p –default-character-set=latin1 数据库名 > 导出的文件名(数据库默认编码是latin1) 2 3mysqldump -u wcnc -p smgp_apps_wcnc > wcnc.sql 2.导出一个表 1 阅读全文
posted @ 2022-02-28 15:58 Bonnie_ξ 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1、Slicing s = ' hello ' s = s[:] print(s) # hello s = ' hello ' s = s[3:8] print(s) # hello 2、strip() s = ' hello '.strip() print(s) # hello s = '###h 阅读全文
posted @ 2022-02-28 15:53 Bonnie_ξ 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 对象、数组、集合 ObjectUtils 获取对象的基本信息 // 获取对象的类名。参数为 null 时,返回字符串:"null" String nullSafeClassName(Object obj) // 参数为 null 时,返回 0 int nullSafeHashCode(Object 阅读全文
posted @ 2022-02-28 15:47 Bonnie_ξ 阅读(22) 评论(0) 推荐(0) 编辑