最新 最热

python基础操作---string

输出----------------------------------------------------Hello World!12Hello World!HloWrdello!dlroW olleHHello WHello WxbbTrueFalseaaa

2020-01-15
0

python xml.etree.El

We have a number of ways to import the data. Reading the file from disk:

2020-01-14
1

Python算法题----Valid P

Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.

2020-01-14
1

python string类方法

!/usr/bin/env python-*- coding: utf-8 -*-name = "app"t = name.capitalize() #首字母大写print(t)name = "app"t = name.center(20) #居中显示print(t)name = "app"...

2020-01-11
0

Python基础-int和string互

int转成string,函数int(string)string转成int,函数str(number)如下:

2020-01-10
0

leetcode 241. Differ

Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. The valid op...

2020-01-09
1

Python不识别中文解决方法

string = string.encode(‘utf-8’)

2020-01-09
1

案例:python中实现51备忘录

1.添加Memo类,至少包含id,name,thing,date四个属性,date可以暂时使用字符串表示,比如‘1.2’,‘3.8’,暂时不用考虑时间相关模块

2020-01-08
1

python 爬虫利器优美的Beauti

近期在研究py的网络编程,编写爬虫也是顺利成章的,开始在纠结与用正则表达式来匹配,到后来发现了Beautifulsoup,用他可以非常完美的帮我完成了这些任务:...

2020-01-08
1

理解dial-peer part 3

呼叫建立需要三种参数,有四个可配置的dial peer命令特性来匹配这三个参数。

2020-01-07
1