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

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -