-
Install PyXB and IPython:
$ pip install ipython pyxb
-
Generate the bindings:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from itertools import count | |
a = [1, 10] | |
b = [1, 10] | |
c1 = count(0).next | |
c2 = count(0).next |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""Utility script to build the Invenio Status Dashboard.""" | |
from __future__ import print_function | |
import sys | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf8 -*- | |
import os | |
import grobid_core | |
import grobid_trainer | |
if __name__ == '__main__': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA1 | |
Hello. | |
The path lies empty; epiphany seeks the devoted. | |
Liber Primus is the way. Its words are the map, their | |
meaning is the road, and their numbers are the direction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kMDItemBitsPerSample = 32 | |
kMDItemColorSpace = "RGB" | |
kMDItemContentCreationDate = 2016-01-09 13:02:34 +0000 | |
kMDItemContentModificationDate = 2016-01-09 13:02:34 +0000 | |
kMDItemContentType = "public.jpeg" | |
kMDItemContentTypeTree = ( | |
"public.jpeg", | |
"public.image", | |
"public.data", | |
"public.item", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
OlderNewer