Python has a command `os.symlink` to create a symlink.