I created a package to paste links onto the desktop; here is the script:
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
import os
import glob
def session_setup():
username=os.getlogin()
def install():
chemin = (r'C:\Users\{}\Desktop'.format(username))
filecopyto(lnk, chemin)The console displays this error message:
Code: Select all
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 4235, in install_wapt
exitstatus = setup.install()
File "C:\WINDOWS\TEMP\wapt257aezdq\setup.py", line 13, in install
File "shutil.py", line 435, in copy2
File "shutil.py", line 264, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Système\\Desktop'
2 : No such file or directoryThank you for your help.
