Did I find the right examples for you? yes no

All Samples(10)  |  Call(6)  |  Derive(0)  |  Import(4)

src/p/y/pyhn-0.2.4/pyhn/cachemanager.py   pyhn(Download)
 
from pyhn.hnapi import HackerNewsAPI
from pyhn.config import Config
 
 
    def __init__(self, cache_path=None):
        self.cache_path = cache_path
        if cache_path is None:
            self.config = Config()
            self.cache_path = self.config.parser.get('settings', 'cache')

src/p/y/pyhn-HEAD/pyhn/cachemanager.py   pyhn(Download)
import datetime
 
from pyhn.config import Config
from pyhn.hnapi import HackerNewsAPI
 
    def __init__(self, cache_path=None):
        self.cache_path = cache_path
        if cache_path is None:
            self.config = Config()
            self.cache_path = self.config.parser.get('settings', 'cache')

src/p/y/pyhn-0.2.4/pyhn/gui.py   pyhn(Download)
    from urlparse import urlparse
 
from pyhn.config import Config
from pyhn.popup import Popup
from pyhn import __version__ as VERSION
        self.which = "top"
 
        self.config = Config()
        self.palette = self.config.get_palette()
 
        """
        self.set_footer('Reloading configuration')
        self.config = Config()
        self.build_help()
        self.palette = self.config.get_palette()

src/p/y/pyhn-HEAD/pyhn/gui.py   pyhn(Download)
    from urlparse import urlparse
 
from pyhn.config import Config
from pyhn.popup import Popup
from pyhn import __version__ as VERSION
        self.which = "top"
 
        self.config = Config()
        self.palette = self.config.get_palette()
 
        """
        self.set_footer('Reloading configuration')
        self.config = Config()
        self.build_help()
        self.palette = self.config.get_palette()