comic = re.match('%s[\\w]+?\\.(png|jpg)' % img_url, page)
fname = re.sub(img_url, '', comic)
try:
    image = urllib.request.urlretrieve(comic, '%s%s' % (dl_dir, fname))
except ContentTooShortError:
    print('Download interrupted.')
else:
    print('Download successful.')
on my local Windows machine, how do i write a script to download a comic strip every day and email it to myself?