首页
沸点
课程
数据标注
HOT
AI Coding
更多
直播
活动
APP
插件
直播
活动
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
登录
注册
无涯教程
无涯教程
创建于2023-07-19
订阅专栏
无涯教程网(www.learnfk.com)提供程序员在线零基础学IT编程技术菜鸟教程。
等 2 人订阅
共3951篇文章
创建于2023-07-19
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
无涯教程-OS File - os.lchflags(path, flags)函数
Python方法lchflag()将path的标志设置为数字标志。与chflag()方法不同,此方法不跟随符号链接。 这里,标...
无涯教程-OS File - os.lchown(path, uid, gid)函数
Python方法lchown()将path的所有者和组ID更改为数字uid和gid。此函数不会跟随符号链接。要保持其中一个ID...
无涯教程-OS File - os.link(src, dst)函数
Python方法link()创建指向名为dst的src的硬链接。此方法对于创建现有文件的副本非常有用。 os.link(src,...
无涯教程-OS File - os.makedev(major, minor)函数
Python方法makedev()从主设备号和次设备号组成原始设备号。 os.makedev(major, minor) - 语法 os.makedev...
无涯教程-OS File - os.makedirs(path[, mode])函数
Python方法makedirs()是递归目录创建函数。与mkdir()类似,但使所有中级目录都需要包含叶目录。 os.maked...
无涯教程-OS File - os.minor(device)函数
Python方法Minor()从原始设备编号中提取设备次要编号(通常是stat中的st_dev或st_rdev字段)。 os.minor(de...
无涯教程-OS File - os.mknod(filename[, mode=0600, device])函数
Python方法mknd()创建名为filename的文件系统节点(文件、设备特殊文件或命名管道)。 os.mknod - 语法 下...
无涯教程-OS File - os.open(file, flags[, mode])函数
Python方法open()打开文件并根据标志设置各种标志,也可能根据模式设置其模式。默认模式为0777(八进制),...
无涯教程-OS File - os.pipe()函数
Python方法Pipe()创建一个管道并返回一对分别可用于读取和写入的文件描述符(r,w os.pipe() - 语法 os.pi...
无涯教程-OS File - os.read(fd, n)函数
Python方法read()从文件解析器fd中至多读取n字节,返回包含读取字节的字符串。如果已到达fd引用的文件结...
无涯教程-OS File - os.readlink(path)函数
Python方法readlink()返回表示符号链接指向的路径的字符串。它可能返回绝对或相对路径名。 os.readlink(p...
无涯教程-OS File - os.remove(path)函数
Python方法remove()删除文件路径。 如果路径是目录,则会引发OSError。 os.remove(path) - 语法 os.remov...
无涯教程-OS File - os.rmdir(path)函数
Python方法rmdir()删除目录路径。 它仅在目录为空时起作用,否则引发OSError。 os.rmdir(path) - 语法 os...
无涯教程-OS File - os.stat(path)函数
Python方法stat()在给定路径上执行stat系统调用。 os.stat(path) - 语法 os.stat(path) path - 这是需...
无涯教程-OS File - os.stat_float_times([newvalue])函数
Python方法stat_float_times()确定stat_result是否将时间戳表示为浮动对象。 os.stat_float_times - 语法...
无涯教程-OS File - os.statvfs(path)函数
Python方法statvfs()在给定路径上执行statvfs系统调用。 os.statvfs(path) - 语法 os.statvfs(path) path...
无涯教程-OS File - os.symlink(src, dst)函数
Python方法symlink()创建指向src的符号链接dst。 os.symlink(src, dst) - 语法 os.symlink(src, dst) sr...
无涯教程-OS File - os.tcgetpgrp(fd)函数
Python方法tcgetpgrp()返回与fd给定的终端相关联的进程组(由os.open()返回的打开文件描述符) os.tcgetpgr...
无涯教程-OS File - os.tcsetpgrp(fd, pg)函数
Python方法tcsetpgrp()将与fd(由os.open()返回的打开文件描述符)给定的终端相关联的进程组设置为pg。 os....
无涯教程-OS File - os.tmpnam()函数
Python方法tmpnam()返回用于创建临时文件的唯一路径名。 os.tmpnam() - 语法 os.tmpnam() os.tmpnam() -...
下一页