<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="Courier New, Courier, monospace">I have a need to
determine the "IDLE TIME" as provided by the Windows Query
program.<br>
<br>
Sample output:<br>
C:\>query user /server:CTX202201<br>
USERNAME SESSIONNAME ID STATE IDLE TIME
LOGON TIME<br>
administrator rdp-tcp#67 2 Active 1:38
6/15/2022 10:48 AM<br>
<br>
<br>
I can't find the above "IDLE TIME" anywhere in pywin32 "Python for
Win32 Extensions".<br>
<br>
I need this time value, and would rather keep all the code in
python without having to resort to something like subprocess to
encapsulate the Windows Query program.<br>
<br>
Thank you.<br>
<br>
</font>
</body>
</html>