Use os.system:
import os
amt = input("Enter amount ")
q = input("Enter quantity you want")
what = input("Enter fruit you want to buy ")
os.system("buyfruits.py --quantity %s --amount %s --fruit %s" % (q, amt, what))
or subprocess, if you want to capture the output of buyfruits.py:
import subprocess, shlex # shlex needed for command-line splitting
amt = input("Enter amount ")
q = input("Enter quantity you want")
what = input("Enter fruit you want to buy ")
p = subprocess.Popen(shlex.split("buyfruits.py --quantity %s --amount %s --fruit %s" % (q, amt, what)))
print("output : %s
errors : %s" % p.communicate()) # print output and errors of the process
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…