by uncr3ative · 14y ago · 0 comments
In [1]: import sh
sha shelve shlex shutil
In [1]: import shutil
In [2]: shutil.
...
shutil.copy shutil.errno shutil.move
In [2]: help(shutil.move)
To do other more powerful automation kind of stuff, this is pretty nifty: http://sikuli.org/https://github.com/dottedmag/path.py
it's awesome for dealing with paths instead of having to do stuff like
os.path.abspath(os.path.join(os.path.join(x,y),z))
everytime, it gives you nice abstractions like path('/home/me').files('*.jpg')