Apr-07-2019, 11:29 PM
Show full run able code like mine was
the error
to try and correct that you converted it into a string
the string ['0/7'] won't match 0/7/CPU0
as it shows in my code you quoted, match should be a string
the error
Error:TypeError: 'in <string>' requires string as left operand, not list
shows that match was assigned as list instead of a stringto try and correct that you converted it into a string
the string ['0/7'] won't match 0/7/CPU0
as it shows in my code you quoted, match should be a string
match='0/7'v is already a string and does not need converting.