linux - How to create a file shortcut on Ubuntu using Python? -
as better definition, how write following function in python ?
def create_shortcut(source, dest): create shortcut of file 'source' , put in 'dest'
if "shortcut" mean symlink, it's just
import os os.symlink(source,dest)
Comments
Post a Comment