This commit is contained in:
Dima YaFlay
2022-01-02 05:33:58 +03:00
committed by GitHub
parent 19cda98a86
commit 1a243f5c69
2 changed files with 13 additions and 323 deletions

13
index.py Normal file
View File

@@ -0,0 +1,13 @@
from os import getcwd, system, path
import urllib.request as urlreq
# import modules
def window_download():
cwd = getcwd()
url = 'https://raw.githubusercontent.com/YaFlay/Minecraft_server_creating/main/windows.py'
if not path.isfile('/windows.py'): urlreq.urlretrieve(url, str(cwd)+'/windows.py')
url2 = 'https://raw.githubusercontent.com/YaFlay/Minecraft_server_creating/main/commands.py'
if not path.isfile('/commands.py'): urlreq.urlretrieve(url2, str(cwd)+'/commands.py')
system('python3 '+ str(cwd)+'/windows.py')
window_download()