Python bekommen Benutzernamen
import os
username = os.getlogin()
arne314
import os
username = os.getlogin()
System.getProperty("user.dir"));
File file = new File("yourfileName");
String path = file.getAbsolutePath();
from pathlib import Path
Path('C:\Program Files').parent