import shutil import os share_dll_dir = os.path.join(os.getcwd(), "ClientRes/HotFixBytes") share_desc_dir = os.path.join(os.getcwd(), "ClientRes/SvrDesc") client_dll_dir = os.path.join(os.getcwd(), "../pandora_cli_proj/pandora/Assets/HotFixBytes") client_desc_dir = os.path.join(os.getcwd(), "../pandora_cli_proj/pandora/Assets/SvrDesc") #if __name__ == '__main__': #if os.path.exists(client_dll_dir): # shutil.rmtree(client_dll_dir) #shutil.copytree(share_dll_dir, client_dll_dir) # if os.path.exists(client_desc_dir): # shutil.rmtree(client_desc_dir) # shutil.copytree(share_desc_dir, client_desc_dir)