TECHIES WORLD

For Techs.... Techniques.... Technologies....

Linux

How to create symlinks in Python

We can use the method symlink() to create symlinks in Python. This utility comes with the Python os module.

Syntax of this method is as given below.

os.symlink(src, dst)

Where src is the source and dst is the destination.

 

Leave a Reply