I am pretty new to python, but I am unable to find an answer to what I am thinking should be a relatively simple issue.
I am trying to utilize tasklist, and I am wondering what I can do with the output of it (like set it to a variable, an array, things like that).
I am using Python 3.3, and I have had some trouble finding documentation on 3.3.
The code is relatively simple:
import os
os.system("tasklist")
input()
This prints the tasklist, but I have had trouble getting data from that print into variables. I am assuming it's something minor to do with Python, and not to do with tasklist.
Ultimately I am looking to make a matrix of the tasklist entries, that way I can search for a process, and grab the corresponding data.
python 3.3 documentationinto Google gives docs.python.org/3 as the first result... Also, no one will be able to help unless you say more about whattasklistis, and some example output fromtasklistetc... - Jon Clements♦