Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import subprocess
- e = False
- i = 1
- mods = []
- fileDir = "null"
- #fileDir = input("Where is the mods file? ")
- #If you want to be able to choose the mods file location, then remove the hashtag in the above line.
- if fileDir == "null":
- fileDir = "modslist.txt"
- while True:
- with open(fileDir, "r") as ins:
- for line in ins:
- mods.append(line)
- break
- for mod in mods:
- subprocess.call([r'D:\Program Files (x86)\Mozilla Firefox\firefox.exe', '-new-tab', 'google.com/#q=' + mod.replace(' ', '+') + '+Mod+Minecraft'])
Add Comment
Please, Sign In to add comment