# Bussard ## An RSS reader
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
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)