13 lines
300 B
Python
13 lines
300 B
Python
temp = open("pluginmaker/target.py", 'r')
|
|
temp = temp.read()
|
|
out = {}
|
|
name = input("name: ")
|
|
author = input("author: ")
|
|
id = input("id: ")
|
|
out["name"] = name
|
|
out["author"] = author
|
|
out["main"] = temp
|
|
out["extension"] = ".*"
|
|
temp2 = open("plugins/"+id+".plug", 'w')
|
|
temp2.write(str(out))
|
|
temp2.close() |