Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Handle the book of tunes

src/c/h/ChordBook-0.0.12/cbk.py   ChordBook(Download)
    raise RuntimeError("Can't find input file '%s'." % opt.infile)
book = libcbk.Book()
f = open(opt.infile)

src/c/h/ChordBook-0.0.12/chordbook/test/test_libcbk.py   ChordBook(Download)
    def test__init__(self):
        """Ensure Book() returns a Book object"""
        book = libcbk.Book()
        self.assert_(isinstance(book, libcbk.Book))
        expected = "<class 'chordbook.libcbk.Book'>({'tunes': [], 'band': '', 'version': '', 'filename': ''})"
        book = libcbk.Book()
        self.assertEqual(book.__repr__(), expected)