import urllib.request, os launchfolder = os.getcwd() offprojects = launchfolder + "\OfficialProjects" launcherfiles = offprojects + "\!LAUNCHERFILES" launchergithuburl = "https://raw.githubusercontent.com/BarsTiger/KOTIKOTapps_download_repo/master/KOTIKOT_launcher.py" ################### Checking folders ##################### if not os.path.exists(offprojects): os.mkdir(offprojects) if not os.path.exists(launcherfiles): os.mkdir(launcherfiles) ################### Updataing launcher ##################### urllib.request.urlretrieve(launchergithuburl, "KOTIKOT_launcher.py")