Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: 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
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Organization: !No_Organization!
Message-ID:
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