【发布时间】:2021-09-24 17:13:28
【问题描述】:
我正在尝试以一种简单的方式安装 powercord 主题,但我不确定如何让用户输入然后在 os.system 命令中输出,这就是我现在所拥有的
import os
import colorama
import time
input("Hi please insert a github powercord theme link: ")
themelink = ""
print("installing powercord theme...")
os.system("cd C:/Users/kai78/powercord/src/Powercord/themes && git clone {}".format(themelink))```
【问题讨论】:
标签: python input operating-system