我os.system在Python中使用方法在Linux中打开文件.但我不知道如何在os.system命令中传递变量(a)
os.system
import os a=4 os.system('gedit +a test.txt')
如何在命令中将变量作为整数传递?
python
python ×1