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
text = "- --- -.. .- -.-- .----. ... -.. . -.-. .. ... .. --- -. -... -.-- - .... . ..-. -.-. -.-. - --- . -. -.-. ..- -- -... . .-. -... .-. --- .- -.. -... .- -. -.. .. -. - . .-. -. . - ... . .-. ...- .. -.-. . ... .-- .. - .... -... .- -.. .-.. -.-- .- -. - .. --.- ..- .- - . -.. .-. . --. ..- .-.. .- - .. --- -. ... .. ... .- .-. .- -.. .. -.-. .- .-.. ... - . .--. - .... .- - .--. .-. . ... .- --. . ... .- - .. -- . --- ..-. ..- -. -.-. . .-. - .- .. -. - -.-- ..-. --- .-. -.-. --- -. ... ..- -- . .-. ... --..-- .. -. -. --- ...- .- - --- .-. ... .- -. -.. .. -. ...- . ... - --- .-. ... .-.-.- --- ...- . .-. - .... . .--. .- ... - - .-- --- -.. . -.-. .- -.. . ... .- -... .. .--. .- .-. - .. ... .- -. --..-- .-.. .. --. .... - -....- - --- ..- -.-. .... .--. --- .-.. .. -.-. -.-- .- .--. .--. .-. --- .- -.-. .... ..- -. .-.. . .- ... .... . -.. ..- -. .--. .-. . -.-. . -.. . -. - . -.. .. -. ...- . ... - -- . -. - .- -. |
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
color green = color(45, 157, 2, 200); | |
float xCirc, yCirc, xLast, yLast; | |
float r, xo, yo, xo1; | |
PFont font; | |
PImage p0, p30, p45, p60, p90, p120, p135, p150, p180, p210, p225, p240, p270, p300, p315, p330, p360; | |
boolean snap = false; | |
void setup() { | |
size(1100, 500); |
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
from BeautifulSoup import BeautifulSoup | |
import re | |
import urllib2 | |
import json | |
import csv | |
csvreader = csv.reader(open('narcoBlogLinks.csv', 'rb'), delimiter=',') | |
csv = list(csvreader) | |
with open('data.json', 'w') as outfile: |