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

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -