| Deutsch English Français Italiano |
|
<LqqdnUWo5PH1J7L_nZ2dnUU7_83NnZ2d@giganews.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 14 Mar 2022 16:57:59 -0500 Newsgroups: fr.comp.lang.python Subject: Comment récupérer le nom d'un fichier .exe qui tourne X-poster: PEAR::Net_NNTP v1.5.0 (stable) From: LucasCongras <nospam_lucascongras@hotmail.fr.invalid> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Organization: !No_Organization! Message-ID: <LqqdnUWo5PH1J7L_nZ2dnUU7_83NnZ2d@giganews.com> Date: Mon, 14 Mar 2022 16:58:00 -0500 Lines: 14 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-8piB2jYSlCD5uwbeB+RCu6jZoTMEQrFD2LqCiqxEO2dg0zAzij0O3IwHrELogdNIRqQxWKFzqtM6tio!AePpZ521gjat9IJeQ9RgOFYb71Mn5QzXWyauS6ZL1py8c+OdSvmwB7Jo3rds3Qx4Q5I8mPi+XE5j X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 1582 X-Original-Lines: 10 Bonjour à tous, je vous explique mon problème. J'ai transformé mon programme python en .exe grâce à auto-py-to-exe mais j'aimerais pouvoir dans ce même fichier .exe qu'il récupère automatiquement son nom lorsqu'il est exécuté afin de m'en servir par la suite. J'espère que c'est assez clair ... Je cherche depuis un moment quelqu'un qui aurait fait ça avant moi mais rien trouvé ou je dois surement mal chercher ahah Je serais très reconnaissant si vous pouviez m'aider, ne serait-ce qu'une piste. Merci d'avance. Lucas