I need to know how I can get the username that appears on the cmd
with python, for example in this path:
C:\Users\john\Desktop\chrome.exe
I want to get the name John in this way, how can I do this with python?
C:\Users\Steve\Desktop\chrome.exe
How can I get the name with python?