Bonjour
Est il possible d'afficher le chemin du script excecute
exemple
si on execute python /home/test.py
on affiche /home
et meme si on on exceute a partir de /home
python test.py on affiche /home
Bonjour
Est il possible d'afficher le chemin du script excecute
exemple
si on execute python /home/test.py
on affiche /home
et meme si on on exceute a partir de /home
python test.py on affiche /home
Partager