Collect 10 Most Recent Windows Event Logs In Application Category ( Python )

You can collect the 10 most recent Windows Event logs in application category with below script:
import os;
applogs=os.popen(‘wevtutil qe Application /f:text /c:10 /rd:True’).read()
print(applogs);

Example output would be: