摘要: vbs请求管理员运行并且隐藏cmd窗口 cwd = CreateObject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).ParentFolder.Path # path中的引号里面 换成自己的bat文件名称 path 阅读全文
posted @ 2022-06-18 15:06 壹佰八壹杯 阅读(2031) 评论(0) 推荐(0)
摘要: 遇到的问题 需要做一个程序给别人简单的分享文件,但是不是没个人的电脑都有python环境所以放弃了命令行使用http.server 默认的路径时运行时所在的环境 python -m http.server 8080 -d /home 然后找到下面这种方式准备打包成exe给别人使用,但是又遇到个问题, 阅读全文
posted @ 2022-04-14 13:55 壹佰八壹杯 阅读(2019) 评论(0) 推荐(0)
摘要: Oops, unhandled type 3 ('unimplemented' 'NoneType' object has no attribute 'open_session' Authentication failed. 后两个加上 timeout参数就可以解决了。 但是第一个异常一直不行,最后 阅读全文
posted @ 2022-04-06 17:50 壹佰八壹杯 阅读(2840) 评论(0) 推荐(0)
摘要: 1. 找不到文件报错 Traceback (most recent call last): File "D:\PythonPoject\linuxtool\config\1.py", line 16, in <module> sftp.put('01-network-manager-all.yaml 阅读全文
posted @ 2022-03-27 20:43 壹佰八壹杯 阅读(3991) 评论(2) 推荐(2)
摘要: 端口映射穿透两个路由器 网络情况:出口路由器使用的TP-link企业路由器,下面又接了一个华为AR系列路由器,华为AR路由器下面分了3个vlan (vlan10,vlan11,vlan12)服务器放在了vlan10下。但是又只有一个公网IP。 网络拓扑如下: 我们需要做两层端口映射把服务器的端口映射 阅读全文
posted @ 2022-02-24 13:31 壹佰八壹杯 阅读(1318) 评论(0) 推荐(0)
摘要: 问题 Removing lavender_api1 ... error ERROR:for lavender_api1 removal of container 11b77a397a960ec33164b4ebf5281ale cbe130af5c65c9c4b70acc4a6a8314cc is 阅读全文
posted @ 2022-02-24 13:30 壹佰八壹杯 阅读(930) 评论(0) 推荐(0)