Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import shutil, os, os.path
  2. os.chdir('C:\\dev\\github\\python\\casetest\\lang')
  3. if not os.path.exists('\\delicious'):
  4.     os.mkdir('delicious')
  5. shutil.copy('spam.txt', 'delicious.txt')
  6. shutil.copy('eggs.txt', "delicious\\eggs2.txt")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement