小编Mar*_*nov的帖子

以下密钥 ID 1397BC53640DB551 没有可用的公钥

当我运行命令时:

sudo apt-get update
Run Code Online (Sandbox Code Playgroud)

我收到以下警告:

There is no public key available for the following key IDs: 1397BC53640DB551
Run Code Online (Sandbox Code Playgroud)

这是我收到的唯一警告,我没有收到任何错误。

我该如何修复它以及 1397BC53640DB551 的关键是什么?

updates apt

108
推荐指数
2
解决办法
11万
查看次数

从终端执行python脚本时如何将参数传递给函数?

我有一个名为 python 文件solution.py,我可以使用以下命令通过终端成功执行它:

chmod +x solution.py
python3 solution.py
Run Code Online (Sandbox Code Playgroud)

如果我有简单的打印短语等,这很好用。

如果我已经定义了一个函数solution.py并且我想直接从终端使用我想要的参数调用它,我该怎么办?如何将参数传递给函数调用?

python command-line functions

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

标签 统计

apt ×1

command-line ×1

functions ×1

python ×1

updates ×1