abs(x)函数
acos(x)函数
asin(x)函数
atan(x)函数
atan2(y, x)函数
ceil(x)函数
choice(seq)函数
cmp(x, y)函数
cos(x)函数
degrees(x)函数
exp(x)函数
fabs(x)函数
floor(x)函数
hypot(x, y)函数
log(x)函数
log10(x)函数
max(x1, x2,...)
min(x1, x2,...)
modf(x)函数
pow(x, y)函数
radians(x)函数
random()函数
randrange ([start,] stop [,step])
round(x [,n])函数
seed([x])函数
shuffle(lst)函数
sin(x)函数
sqrt(x)函数
tan(x)函数
uniform(x, y)函数
os.access(path, mode)
os.chdir(path)
os.chflags(path, flags)
os.chmod(path, mode)
os.chown(path, uid, gid)
os.chroot(path)
os.close(fd)
os.closerange(fd_low, fd_high)
os.dup(fd)
os.dup2(fd, fd2)
os.fchdir(fd)
os.fchmod(fd, mode)
os.fchown(fd, uid, gid)
os.fdatasync(fd)
os.fdopen(fd[, mode[, bufsize]])
os.fpathconf(fd, name)
os.fstat(fd)
os.fstatvfs(fd)
os.fsync(fd)
os.ftruncate(fd, length)
os.getcwd()
os.getcwdu()
os.isatty(fd)
os.lchflags(path, flags)
os.lchmod(path, mode)
os.lchown(path, uid, gid)
os.link(src, dst)
os.listdir(path)
os.lseek(fd, pos, how)
os.lstat(path)
os.major(device)
os.makedev(major, minor)
os.makedirs(path[, mode])
os.minor(device)
os.mkdir(path[, mode])
os.mkfifo(path[, mode])
os.mknod(filename[, mode=0600, device])
os.open(file, flags[, mode])
os.openpty()
os.pathconf(path, name)
os.pipe()
os.popen(command[, mode[, bufsize]])
os.read(fd, n)
os.readlink(path)
os.remove(path)
os.removedirs(path)
os.rename(src, dst)
os.renames(old, new)
os.rmdir(path)
os.stat(path)
os.stat_float_times([newvalue])
os.statvfs(path)
os.symlink(src, dst)
os.tcgetpgrp(fd)
os.tcsetpgrp(fd, pg)
os.tempnam([dir[, prefix]])
os.tmpfile()
os.tmpnam()
os.ttyname(fd)
os.unlink(path)
os.utime(path, times)
os.walk(top[, topdown=True[, onerror=None[, followlinks=False]]])
os.write(fd, str)
capitalize()函数
center(width, fillchar)函数
count(str, beg= 0,end=len(string))
decode(encoding='UTF-8',errors='strict')
encode(encoding='UTF-8',errors='strict')
endswith(suffix, beg=0, end=len(string))
expandtabs(tabsize=8)
find(str, beg=0 end=len(string))
index(str, beg=0, end=len(string))
isalnum()函数
isalpha()函数
isdecimal()函数
isdigit()函数
islower()函数
isnumeric()函数
isspace()函数
istitle()函数
isupper()函数
join(seq)函数
len(string)函数
ljust(width[, fillchar])函数
lower()函数
lstrip()函数
maketrans()函数
max(str)函数
min(str)函数
replace(old, new [, max])
rfind(str, beg=0,end=len(string))
rindex( str, beg=0, end=len(string))
rjust(width,[, fillchar])
rstrip()函数
split(str="", num=string.count(str))
splitlines( num=string.count('\n'))
startswith(str, beg=0,end=len(string))
strip([chars])函数
swapcase()函数
title()函数
translate(table, deletechars="")
upper()函数
zfill (width)函数