Howto determine file owner on windows using python without pywin32

前端 未结 3 1053
别跟我提以往
别跟我提以往 2020-12-06 13:17

I am writing a script which needs to determine the username of the owner of files on windows.

While I found a solution using pywin32 but I am hesitant to use it, as

3条回答
  •  一整个雨季
    2020-12-06 13:43

    This seem to be ok even on python 3 adjusting brackets on print http://timgolden.me.uk/python/win32_how_do_i/get-the-owner-of-a-file.html

提交回复
热议问题