Skip to content

Instantly share code, notes, and snippets.

View westscz's full-sized avatar
🎯
Focusing

Jarosław westscz

🎯
Focusing
View GitHub Profile
@westscz
westscz / xboxunity_help.py
Last active March 11, 2018 12:31
Run script in directory, where directory names are ID of games from xboxunity
import os
import requests
import shutil
def create_and_move_directory(cwd, new_dir, old_dir):
print("ID:{} Name:{}".format(old_dir, new_dir))
make_dir = os.path.join(cwd, new_dir)
new_dir = os.path.join(cwd, new_dir, old_dir)
old_dir = os.path.join(cwd, old_dir)