Created
July 3, 2015 00:40
-
-
Save panchicore/f9ff89e794ad8e0bdfe4 to your computer and use it in GitHub Desktop.
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 os | |
from shutil import copy2, copyfile | |
origin = "/Users/panchicore/Dropbox (Personal)/PSDs AQHJ 2.0/Android/assets/assets/res" | |
destination = "/Users/panchicore/AndroidStudioProjects/Aquehorajuega/app/src/main/res" | |
folders = ["drawable-hdpi", "drawable-mdpi", "drawable-xhdpi", "drawable-xxhdpi"] | |
filename = raw_input("filename in this dir: ") | |
for folder in folders: | |
_from = os.path.join(origin, folder, filename) | |
_to = os.path.join(destination, folder, filename) | |
copyfile(_from, _to) | |
print _from, '--->', _to | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment