# Bussard ## An RSS reader
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011
  1. import feedparser
  2. import opyml
  3. import Psycopg2
  4. def read_archive(self, filename):
  5. # filename is assumed to be relative to the directory
  6. # you're calling this from, or globally qualified
  7. # It cannot be a URL or non-local file.
  8. with open(filename, "r") as file:
  9. contents = file.read(filename)