相关疑难解决方法(0)

“python3 -u”是什么意思?

从命令行运行 Python 文件时,您使用python3 <file>,但 VSCode Code Runner 使用python3 -u <file>(默认情况下),所以我想知道:

  1. 有什么区别(因为测试后我没有看到明显的区别)?
  2. 这部分叫什么-u

python command-line

2
推荐指数
1
解决办法
9459
查看次数

标签 统计

command-line ×1

python ×1