Google Cloud Shell:如何通过命令行终端进行交互?

Google Cloud Shell: How to interface via command-line terminal?

我在 google 云 shell 上创建了一个非常简单的 python hello_world 脚本。我在浏览器 google 云 shell 中实现了它并 运行 它并正确编译和输出。

我的问题是,如果我想通过我所在的 linux 服务器执行相同的 hello_world 脚本怎么办?我目前刚刚下载了 google SDK 并做了一个 'gcloud init' 并按照 google 将这个 hello_world python 项目设置到我的 linux 服务器上云文档:

https://cloud.google.com/sdk/docs/quickstart-linux

https://cloud.google.com/sdk/downloads

我对如何在我的 linux 服务器终端上访问这些文件以及如何通过 linux 服务器终端 运行 访问这些文件感到有点困惑。我只是想 运行 它们在这里,并通过浏览器控制台获得与我在 google 云 shell 上所做的相同的输出。

如果我没看错,您只需将文件下载到您的系统即可。当你打开 shell 时,右上角有 'more' 选项,从那里你会看到直接下载文件的能力。抱歉,如果这不是您要找的。

瑞克