I am trying to poll a process using poll() from python. link
I don’t understand, I am supplying an integral value for it to poll. for example: the value is 14870
14870
Traceback (most recent call last):
File "test.py", line 29, in <module>
parse_file(input_csv[0])
File "test.py", line 24, in parse_file
ret = pid[r].poll()
AttributeError: 'int' object has no attribute 'poll'
I failed to find anywhere in the documentation about what datatype it is..
You could execute the following: