Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #coding:utf-8
- #PyScript
- #2015
- # by Igor Mikhaylov ^v^
- #vk.com/lord_darks
- #by SymbiSoft
- import os
- import shutil
- def copy(a,b):
- shutil.copy(a,b)
- #####
- def workspace():
- ws = os.getcwd()
- print(ws)
- #####
- def mkdir(q):
- os.mkdir(q)
- #####
- def mkdirs(w):
- os.mkdirs(w)
- #####
- def listdir(e):
- os.listdir(e)
- #####
- def stat(r):
- os.stat(r)
- #####
- def rename(t, y):
- os.rename(t, y)
- #####
- def rmdir(u):
- os.rmdir(u)
- #####
- def chdir(i):
- os.chdit(i)
- #####
- def copytree(o, p):
- shutil.copytree(o,p)
- #####
- def move (s, d):
- shutil.move(s, d)
- #####
- def rmtree(f):
- shutil.rmtree(f)
- ######
Advertisement
Add Comment
Please, Sign In to add comment