I have the following code below:
from cgi import FieldStorage v_field = FieldStorage() v_field.list = [v_str_sev] print(v_field) >> FieldStorage(None, None, ["MiniFieldStorage('v_name', 'João'), MiniFieldStorage('v_sname', 'Aguiar')"])How do I remove the double quotes keeping the data type as class (FieldStorage) and not (string)? Using regex the data is converted to a string but I need the data as <class 'cgi.FieldStorage'> ?