i have used
subprocess.Popen('afairesh.py', shell=True)to open the module upon button click. Still,searching for the previous issue though