jalnor / os_monitoring_tool

A tool that monitors processes as they start and stop and saves the information to a database.
MIT License
1 stars 0 forks source link

List Traversal #17

Closed jalnor closed 2 years ago

jalnor commented 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.

_Originally posted by @bbelderbos in https://github.com/jalnor/os_monitoring_tool/pull/14#discussion_r961547291_

jalnor commented 2 years ago

I fixed this