Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
亲爱的,我曾经使用 CMD 命令更新 kerberos 票证,如下所示: C:\program files (x86)\MIT\kerberos\bin>kinit 如下..
然后当我输入密码时,tkt 会被更新..
那么,我如何在 Python 中运行相同的 cmd 命令??!!
尝试运行您在内部使用的命令:
import os os.system("YOUR COMMAND")