最简单的logging用法import logging logging.error("hah") logging.info("hah") logging.debug("hah") logging.warning("hah") logging.critical("hah") """ #输出结果 #ERROR:root:hah #WARNING:root:hah #CRITICAL:root:hah
hah
转载 2011-12-23 11:47:03
530阅读
[root@master bash]#cat test #!/bin/bash cat <<-HAHA this is a tset hah xiix gaga wawa HAHA [root@master bash]#./test this is a tset hah xiix gaga wawa [root@master bash]#
原创 2010-04-08 15:34:53
217阅读
<?php //对数组中的每个元素做函数处理 $arr = array(1,2,3,4,5,6); function cheng($hah){ return $hah*2; } var_dump(array_map('cheng',$arr));
转载 2019-08-11 13:01:00
124阅读
2评论
如何让hah.jsp成为欢迎界面? 在web-inf文件夹中配置项目部署文件web.xml。 添加标签 <welcome-file-list> <welcome-file>/hah.jsp</welcome-file> <welcome
原创 2022-07-17 00:10:37
482阅读
mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | transactor | pid | order_date | +----------+------------+-----+---------------------+ | 1hah...
转载 2019-08-04 20:53:00
521阅读
2评论
mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | transactor | pid | order_date | +----------+------------+-----+---------------------+ | 1hah...
转载 2019-08-04 22:27:00
156阅读
2评论
mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | transactor | pid | order_date | +----------+------------+-----+---------------------+ | 1hah...
转载 2019-08-04 22:44:00
227阅读
2评论
mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | transactor | pid | order_date | +----------+------------+-----+---------------------+ | 1hah...
转载 2019-08-04 21:52:00
667阅读
2评论
mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | transactor | pid | order_date | +----------+------------+-----+---------------------+ | 1hah...
转载 2019-08-04 22:14:00
128阅读
2评论
mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | transactor | pid | order_date | +----------+------------+-----+---------------------+ | 1hah...
转载 2019-08-04 22:00:00
363阅读
2评论
mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | transactor | pid | order_date | +----------+------------+-----+---------------------+ | 1hah...
转载 2019-08-04 22:06:00
226阅读
2评论
@Overridepublic void onActivityResult(int requestCode, int resultCode, Intent data) { switch (resultCode) { case 10: Toast.makeText(getActivity(),"hah
原创 2021-08-04 10:00:20
114阅读
mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | transactor | pid | order_date | +----------+------------+-----+---------------------+ | 1hah...
转载 2019-08-04 22:21:00
163阅读
2评论
mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | transactor | pid | order_date | +----------+------------+-----+---------------------+ | 1hah...
转载 2019-08-04 21:41:00
427阅读
2评论
mysql> select * from table1; +----------+------------+-----+---------------------+ | name_new | transactor | pid | order_date | +----------+------------+-----+---------------------+ | 1hah...
转载 2019-08-04 21:29:00
324阅读
2评论
# 用户交互 input、格式化输出 # 1.接受用户的输入 # 在python3:input会将用户输入的所有内容都存成字符串类型 # input(): 要求用户必须输入一个明确的数据类型,输入的是什么类型,就存成什么类型 # username = input('请输入您的账号:')  # hah # print(username, type(username))  # hah <cl
转载 2021-01-31 19:35:14
127阅读
2评论
DOS系统功能调用调用形式::MOV AH, 01HINT 21HAH功能调用参数返回参数0程序终止(同
原创 2022-08-23 14:29:28
87阅读
1. peek基本了解会改变对象里的值Arrays.asList(new Person("1", "hah"), new Person("1", "hh")) .stream().peek(p -> p.setId("222")).forEach(System.out::println); @AllArgsConstructor @Dat
转载 2024-04-30 20:12:45
122阅读
replace()name = 'hello world haha' new_name = name.replace('ha','Ha') print(new_name) name = 'hello world haha' new_name = name.replace('ha','Ha',1) print(new_name)输出:hello world HaHa hello world Hah
  • 1
  • 2
  • 3