教程首页
HTML
CSS
JavaScript
编程语言
数据库
移动端
XML
Web Services
网站建设
首页
>
教程
>
编程语言
>
Python
>
Python 基础教程
Python 基础教程
Python 基础教程
Python 简介
Python 环境搭建
Python 中文编码
Python 基础语法
Python 变量类型
Python 运算符
Python 条件语句
Python 循环语句
Python While循环语句
Python for 循环语句
Python 循环嵌套
Python break 语句
Python continue 语句
Python pass 语句
Python 数字
Python 字符串
Python 列表(Lists)
Python 元组
Python 字典(Dictionary)
Python 日期和时间
Python 函数
Python 模块
Python 文件I/O
Python 异常处理
abs(x)
ceil(x)
cmp(x, y)
exp(x)
fabs(x)
floor(x)
log(x)
log10(x)
max(x1, x2,...)
min(x1, x2,...)
modf(x)
pow(x, y)
round(x [,n])
sqrt(x)
choice(seq)
randrange ([start,] stop [,step])
random()
seed([x])
shuffle(lst)
uniform(x, y)
acos(x)
asin(x)
atan(x)
atan2(y, x)
cos(x)
hypot(x, y)
sin(x)
tan(x)
degrees(x)
radians(x)
string.capitalize()
string.center(width)
string.count(str, beg=0, end=len(string))
string.decode(encoding=‘UTF-8‘, errors=‘strict‘)
string.encode(encoding=‘UTF-8‘, errors=‘strict‘)
string.endswith(obj, beg=0, end=len(string))
string.expandtabs(tabsize=8)
string.find(str, beg=0, end=len(string))
string.index(str, beg=0, end=len(string))
string.isalnum()
string.isalpha()
string.isdecimal()
string.isdigit()
string.islower()
string.isnumeric()
string.isspace()
string.istitle()
string.isupper()
string.join(seq)
string.ljust(width)
string.lower()
string.lstrip()
string.maketrans(intab, outtab])
max(str)
min(str)
string.partition(str)
string.replace(str1, str2, num=string.count(str1))
string.rfind(str, beg=0,end=len(string) )
string.rindex( str, beg=0,end=len(string))
string.rjust(width)
string.rstrip()
string.split(str="", num=string.count(str))
string.splitlines(num=string.count(‘\n‘))
string.startswith(obj, beg=0,end=len(string))
string.strip([obj])
string.swapcase()
string.title()
string.translate(str, del="")
string.upper()
string.zfill(width)
string.isdecimal()
cmp(list1, list2)
len(list)
max(list)
min(list)
list(seq)
list.append(obj)
list.count(obj)
list.extend(seq)
list.index(obj)
list.insert(index, obj)
list.pop(obj=list[-1])
list.remove(obj)
list.reverse()
list.sort([func])
cmp(tuple1, tuple2)
len(tuple)
max(tuple)
min(tuple)
tuple(seq)
cmp(dict1, dict2)
time.altzone
time.asctime([tupletime])
len(dict)
str(dict)
time.clock( )
time.ctime([secs])
type(variable)
radiansdict.clear()
time.gmtime([secs])
time.localtime([secs])
radiansdict.copy()
radiansdict.fromkeys()
time.mktime(tupletime)
time.sleep(secs)
radiansdict.get(key, default=None)
radiansdict.has_key(key)
time.strftime(fmt[,tupletime])
time.strptime(str,fmt=‘%a %b %d %H:%M:%S %Y‘)
radiansdict.items()
radiansdict.keys()
time.time( )
time.tzset()
radiansdict.setdefault(key, default=None)
radiansdict.update(dict2)
radiansdict.values()
© 2014
bubuko.com
版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!