CommonRegex icon indicating copy to clipboard operation
CommonRegex copied to clipboard

Reading from CSV error - TypeError: expected string or bytes-like object

Open yuva670 opened this issue 4 years ago • 0 comments

Traceback (most recent call last): File "csv_parse.py", line 14, in parsed_text = CommonRegex({row[2]}) File "/Users/mviraktamath/.pyenv/versions/3.8.6/lib/python3.8/site-packages/commonregex.py", line 53, in init setattr(self, key, method()) File "/Users/mviraktamath/.pyenv/versions/3.8.6/lib/python3.8/site-packages/commonregex.py", line 39, in regex_method return [x.strip() for x in self.regex.findall(text or self.obj.text)] TypeError: expected string or bytes-like object

yuva670 avatar Oct 21 '20 08:10 yuva670