Python: Sqlalchemy.exc.OperationalError: <unprintable OperationalError object>
问题 I made the following code that I will present below to create a web crawler (elaborated in scrapy) and I want to put this data in a database, the one being mysql. For this I used the pipeline file and made the following configurations: pipeline.py: class ScrapySpiderPipeline(object): def __init__(self): engine = db_connect() create_table(engine) self.Session = sessionmaker(bind=engine) def process_item(self, item, spider): session = self.Session() quotedb = QuoteDB() quotedb.Titulo = item[