Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
The class for slicing and dicing the HTML and turning it into HackerNewsStory objects.

src/p/y/pyhn-0.2.4/pyhn/cachemanager.py   pyhn(Download)
import datetime
 
from pyhn.hnapi import HackerNewsAPI
from pyhn.config import Config
 
        self.cache_age = int(self.config.parser.get('settings', 'cache_age'))
        self.extra_page = int(self.config.parser.get('settings', 'extra_page'))
        self.api = HackerNewsAPI()
 
        if not os.path.exists(self.cache_path):

src/p/y/pyhn-HEAD/pyhn/cachemanager.py   pyhn(Download)
 
from pyhn.config import Config
from pyhn.hnapi import HackerNewsAPI
 
 
        self.cache_age = int(self.config.parser.get('settings', 'cache_age'))
        self.extra_page = int(self.config.parser.get('settings', 'extra_page'))
        self.api = HackerNewsAPI()
 
        if not os.path.exists(self.cache_path):