startswith first arg must be bytes or a tuple of bytes, not str: 'Python for everybody' Coursera
问题 I am completing the 'Python for everybody' course on coursera . I am stuck on the 'Mailing List Data - Part I' I have the following code below: import sys import sqlite3 import time import ssl from urllib import request from urllib.parse import urljoin from urllib.parse import urlparse import re from datetime import datetime, timedelta # Not all systems have this so conditionally define parser try: import dateutil.parser as parser except: pass def parsemaildate(md): # See if we have dateutil