This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from tkinter import filedialog | |
import shutil | |
import urllib.parse | |
import urllib.request | |
import os | |
def download(modId, fileId, fn): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this script on the same folder as .json theme files. | |
# for example: sdrpp_windows_x64\res\colormaps | |
# run .py and change themes with arrow keys -> <- | |
# Dependencies: | |
# pip install pillow | |
# pip install pygame | |
import json, pygame, os |