This file contains 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
<rdflib.plugins.memory.IOMemory object at 0x2370310> namespaces after creation: | |
[('xml', rdflib.term.URIRef(u'http://www.w3.org/XML/1998/namespace')), | |
('rdf', rdflib.term.URIRef(u'http://www.w3.org/1999/02/22-rdf-syntax-ns#')), | |
('xsd', rdflib.term.URIRef(u'http://www.w3.org/2001/XMLSchema#')), | |
('rdfs', rdflib.term.URIRef(u'http://www.w3.org/2000/01/rdf-schema#'))] | |
('<rdflib.plugins.memory.IOMemory object at 0x2370310>', 'namespaces after loop:') | |
[('xml', rdflib.term.URIRef(u'http://www.w3.org/XML/1998/namespace')), | |
('rdf', rdflib.term.URIRef(u'http://www.w3.org/1999/02/22-rdf-syntax-ns#')), | |
('ex', rdflib.term.URIRef(u'http://example.com/ns/ex#')), |
This file contains 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
import itertools | |
first=list("abcd") | |
second=list("1234") | |
third=list("WXYZ") | |
step1 = map("".join, itertools.product(first, second)) | |
step1_combinations = itertools.product(step1, repeat=len(third)) | |
for combo in step1_combinations: |
This file contains 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
var jQuery, document; | |
function f() { | |
'use strict'; | |
var title = jQuery("span.title"), | |
image = jQuery("#main > div.article-body > div.block > img"), | |
across = jQuery("#main > div.article-body > p")[1], | |
down = jQuery("#main > div.article-body > p")[2], | |
b, | |
imgwidth; |
NewerOlder