• 2022-05-27 问题

    取得当前工作目录的命令是() A: os.listdir(path) B: os.getcwd() C: os.path.isdir(path) D: os.path.isfile(path)

    取得当前工作目录的命令是() A: os.listdir(path) B: os.getcwd() C: os.path.isdir(path) D: os.path.isfile(path)

  • 2022-06-29 问题

    os.path模块检查文件是否存在的函数是( )。 A: isfile(path) B: isdir(path) C: splitext(path) D: exists(path)

    os.path模块检查文件是否存在的函数是( )。 A: isfile(path) B: isdir(path) C: splitext(path) D: exists(path)

  • 2022-05-28 问题

    安装JDK时,不需要配置环境变量()。 A: JAVA_HOME B: path C: classpath D: OS

    安装JDK时,不需要配置环境变量()。 A: JAVA_HOME B: path C: classpath D: OS

  • 2022-05-28 问题

    安装JDK之后,必须要配置如下哪个环境变量 A: path B: classpath C: JAVA_HOME D: OS

    安装JDK之后,必须要配置如下哪个环境变量 A: path B: classpath C: JAVA_HOME D: OS

  • 2021-04-14 问题

    Python标准库os中用来返回path目录下的文件和目录列表的是( )

    Python标准库os中用来返回path目录下的文件和目录列表的是( )

  • 2022-06-03 问题

    关于OS库的描述,错误的是 A: os库是Python第三方函数库,包含几百个函数。如果需要使用,需要使用pip命令进行安装 B: os库提供通用的、基本的操作系统交互功能 C: os.path.abspath(path)返回path在当前系统中的绝对路径<br/>&gt;&gt;&gt;os.path.abspath("file.txt")<br/>'C:\\Users\\Tian<br/>Song\\Python36-32\\file.txt' D: os.path.dirname(path)返回path中的目录名称<br/>&gt;&gt;&gt;os.path.dirname("D://PYE//file.txt")<br/>'D://PYE

    关于OS库的描述,错误的是 A: os库是Python第三方函数库,包含几百个函数。如果需要使用,需要使用pip命令进行安装 B: os库提供通用的、基本的操作系统交互功能 C: os.path.abspath(path)返回path在当前系统中的绝对路径<br/>&gt;&gt;&gt;os.path.abspath("file.txt")<br/>'C:\\Users\\Tian<br/>Song\\Python36-32\\file.txt' D: os.path.dirname(path)返回path中的目录名称<br/>&gt;&gt;&gt;os.path.dirname("D://PYE//file.txt")<br/>'D://PYE

  • 2022-10-26 问题

    (单选题)Python标准库os中用来列出指定文件夹中的文件和文件夹列表的方式是__________。 A: listdir() B: exists() C: isfile() D: isdir()

    (单选题)Python标准库os中用来列出指定文件夹中的文件和文件夹列表的方式是__________。 A: listdir() B: exists() C: isfile() D: isdir()

  • 2022-10-26 问题

    Python标准库os中用来列出指定文件夹中的文件和子文件夹列表的方式是()。 A: isdir() B: isfile() C: exists() D: listdir()

    Python标准库os中用来列出指定文件夹中的文件和子文件夹列表的方式是()。 A: isdir() B: isfile() C: exists() D: listdir()

  • 2022-10-26 问题

    Python标准库os中用来列出指定文件夹中的文件和子文件夹列表的方法是( )。 A: isdir() B: exists() C: listdir() D: isfile()

    Python标准库os中用来列出指定文件夹中的文件和子文件夹列表的方法是( )。 A: isdir() B: exists() C: listdir() D: isfile()

  • 2022-10-26 问题

    Python标准库os中用来返回path目录下的文件和目录列表的是()。 A: os.chdir() B: os.listdir() C: os.getcwd() D: os.mkdir()

    Python标准库os中用来返回path目录下的文件和目录列表的是()。 A: os.chdir() B: os.listdir() C: os.getcwd() D: os.mkdir()

  • 1 2 3 4 5 6 7 8 9 10