小编Jaf*_*els的帖子

将文件位置传递给python

我对 Linux 和 Ubuntu 完全陌生。

我已经在 Windows 中编写了 python 代码并想在 Ubuntu 中运行它。它使用文本文件进行输入。Windows 中的“文件路径”如下所示

c:user\documents\python\file.txt
Run Code Online (Sandbox Code Playgroud)

Ubuntu的位置是如何写的?

python

7
推荐指数
1
解决办法
6万
查看次数

标签 统计

python ×1