Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 向打开的CMD窗口发送一行_Python_Windows_Command Line_Bcrypt - Fatal编程技术网

Python 向打开的CMD窗口发送一行

Python 向打开的CMD窗口发送一行,python,windows,command-line,bcrypt,Python,Windows,Command Line,Bcrypt,我得到了一个.txt文件中的假释列表,其中一个是bcrypted文件的密钥。问题是,你不能只是打字 bcrypt.exe somefile.bfe anotherfile.se key 输出如下所示 bcrypt.exe somefiile.bfe anotherfile.se Encryption key: 顺便说一句,它应该是解密密钥,但没关系 我可以通过WINAPI找到这个CMD窗口,但我不知道如何向它传递字符串 你们试过模块了吗?还没试过。谢谢,我来试试。

我得到了一个.txt文件中的假释列表,其中一个是
bcrypt
ed文件的密钥。问题是,你不能只是打字

bcrypt.exe somefile.bfe anotherfile.se key
输出如下所示

bcrypt.exe somefiile.bfe anotherfile.se
Encryption key:
顺便说一句,它应该是解密密钥,但没关系


我可以通过WINAPI找到这个CMD窗口,但我不知道如何向它传递字符串

你们试过模块了吗?还没试过。谢谢,我来试试。