Minecraft Launcher: Start Your Adventure with One Click
import subprocess import sys
print('Welcome to the Minecraft launcher')
try: response = input('Do you want to launch Minecraft? (y/n):') if response.lower() == 'y': subprocess.run([sys.executable, "minecraft.py"]) else: print('Goodbye!') except: print('There was an error launching Minecraft.')
原文地址: https://www.cveoy.top/t/topic/lf4E 著作权归作者所有。请勿转载和采集!