会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
南风丶轻语
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
24
25
26
27
28
29
30
31
下一页
2020年10月10日
Java 调用 WebService
摘要: 1.选择一个WebService接口作测试 假设 WebService url 为 http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx(查询手机归属地) 通过网页看到接口有两个,也可看到参数以及返回值 该接口来源于 http://www.web
阅读全文
posted @ 2020-10-10 11:21 南风丶轻语
阅读(654)
评论(0)
推荐(0)
2020年10月8日
谷歌浏览器无法使用谷歌搜索引擎
摘要: 0.补充(2021年11月1日说明): 以前使用谷歌上网助手可以白嫖,现在白嫖不了了,需要买会员了。所以不愿意花钱的同学就可以不用往下看了,愿意花钱的就最后买个谷歌上网助手的会员。一个月15块钱左右。 ~~~~~~~~~~~~~难受~~~~~~~~~~~~有白嫖的再继续更新~~~~~~~~~~~~~
阅读全文
posted @ 2020-10-08 13:56 南风丶轻语
阅读(4983)
评论(0)
推荐(0)
2020年9月29日
Python 正则表达式
摘要: 1、从字符串起始位置匹配(一次) re.match(pattern, string, flags=0) 匹配成功返回匹配对象,否则返回 None # -*- encoding=utf-8 -*- import re if __name__ == '__main__': pass string = '
阅读全文
posted @ 2020-09-29 17:59 南风丶轻语
阅读(209)
评论(0)
推荐(0)
2020年9月22日
Python 根据字符串调用函数或取到类属性
摘要: 1.使用 getattr(object, name, default=None) 获取属性 # -*- encoding=utf-8 -*-class Test: def __init__(self): self.name = '莉莉' self.age = 18if __name__ == '__
阅读全文
posted @ 2020-09-22 14:36 南风丶轻语
阅读(2199)
评论(0)
推荐(0)
2020年9月11日
Python 解析 XML
摘要: Python 解析xml 1、获取xml树 import xml.etree.ElementTree as ET def getTree(xmlName): xmlName = xmlName.strip() try: tree = ET.parse(xmlName) except: tree =
阅读全文
posted @ 2020-09-11 17:05 南风丶轻语
阅读(176)
评论(0)
推荐(0)
Python list排序
摘要: 1.一维list a = [1, 2, 1, 3, 4, 5] b = ['a', 'b', 'a', 'c', 'd', 'b'] a.sort() b.sort() print a print b 结果 2.多维list (1)根据前两项排序 my_list = [['a', '2', '',
阅读全文
posted @ 2020-09-11 10:15 南风丶轻语
阅读(193)
评论(0)
推荐(0)
2020年9月10日
Bootstrap 浮动
摘要: (1)浮动 pull-left pull-right (2)清除浮动 clearfix <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="https://cdn.staticfile.o
阅读全文
posted @ 2020-09-10 17:51 南风丶轻语
阅读(256)
评论(0)
推荐(0)
Bootstrap 背景
摘要: (1)颜色 bg-primary bg-success bg-info bg-warning bg-danger <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="https://cdn
阅读全文
posted @ 2020-09-10 17:29 南风丶轻语
阅读(210)
评论(0)
推荐(0)
Bootstrap 按钮
摘要: (1)颜色 btn btn-default btn-primary btn-success btn-info btn-warning btn-danger (2)大小 btn-lg btn-sm btn-xs (3)块级按钮 btn-block (4)状态 active disabled (5)按钮
阅读全文
posted @ 2020-09-10 16:27 南风丶轻语
阅读(175)
评论(0)
推荐(0)
Python 文件路径前 +u 或 r 的区别 (机器本身存在文件或文件夹,但是程序找不到)
摘要: (1)文件路径 +r 的场景 假设机器上有这么个文件 D:\aaa\ttt\a.txt 文件内容为 hello worldhello world 错误的python 读取方式为: # -*- encoding=utf-8 -*- with open('D:\aaa\ttt\a.txt', 'r')
阅读全文
posted @ 2020-09-10 16:19 南风丶轻语
阅读(2027)
评论(0)
推荐(0)
上一页
1
···
24
25
26
27
28
29
30
31
下一页
公告