Closed jalnor closed 2 years ago
Haha habit from Java maybe? ;)
You can just do for process in new_process_list in Python and if you want the loop count for some reason you can use the enumerate() built-in.
for process in new_process_list
enumerate()
_Originally posted by @bbelderbos in https://github.com/jalnor/os_monitoring_tool/pull/14#discussion_r961547291_
I fixed this
Haha habit from Java maybe? ;)
You can just do
for process in new_process_list
in Python and if you want the loop count for some reason you can use theenumerate()
built-in._Originally posted by @bbelderbos in https://github.com/jalnor/os_monitoring_tool/pull/14#discussion_r961547291_