我正在尝试搜索98-99年的标题,我想得到第一部分(98): 示例标题: CAR EBC 98-99 TypeError: 'NoneType' object is not subscriptableimport pandas as pd
# splittitle of df1 into string and year tag m
当我从我的测试电子邮件中收到一封电子邮件时,它运行得很好,但是当它来自一个自动系统时,我需要它来检查电子邮件,我得到一个错误,声明'Nonetype' object is not subscriptablepassword) conn.select('inbox', readonly=True) main()
File "TestEmail.
actual = hopeful[31:]
driver.close 当我运行代码时,我得到以下错误: TypeError: 'NoneType' object is not subscriptable 在输出中,我预先获得了一些不需要的方面的URL,这就是为什么我尝试使用substring函数来删除前31个字符,这将使我的