在虚拟环境中保存python文件

时间:2020-04-26 14:55:01

标签: python powershell nano

我只是想在Powershell Python Nano虚拟环境中保存一个简单的程序。

但是在保存文件时出现错误。

enter image description here

在本博文的最后也是最后的步骤6中,我终于在其中完成了1-5。程序应保存。

https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-local-programming-environment-on-windows-10

为什么会出现此错误,我该如何解决?

1 个答案:

答案 0 :(得分:1)

可能会发生此错误,因为您尝试在受保护的目录中写入。

尝试为项目class Gen<T> { public doStuff<U>(input: U /* If T is an instance of number, then input type U should be an instance of custom type ABC, or If T is an instance of string, then input type U should an instance of custom type XYZ, else compile error */) { // do stuff with input } } 创建目录,并在其中创建脚本。