是否有一个优雅的解决方案可以在Python中执行此shell脚本而不导入os?
tput cup 14 15; echo -ne "\033[1;32mtest\033[0m" ; tput cup 50 0
这只是在我心中了一段时间:)
谢谢
python printing terminal
printing ×1
python ×1
terminal ×1