import getpass getpass.getuser()
It's been years but have you figured it out how to do this? I have the same problem
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.