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 python3 | |
# -*- coding: utf-8 -*- | |
import sys | |
if len(sys.argv) == 3: | |
wordlength = int(sys.argv[1]) | |
wordchars = sys.argv[2] | |
else: | |
wordlength = int(input('Word length?\n')) |
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
from subprocess import call | |
import os | |
import sys | |
n = int(sys.argv[1]) | |
for i in range(n): | |
directory = 'output/{0}'.format(i) | |
if not os.path.exists(directory): | |
os.makedirs(directory) | |
for letter in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ': |
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 | |
import sys | |
import httplib | |
import json | |
from influxdb import InfluxDBClient | |
SERVER = 'flipdot.org' | |
API = { | |
'status': '/spacestatus/status.json', |
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
import httplib | |
import json | |
from influxdb import InfluxDBClient | |
SERVER = 'flipdot.org' | |
API = { | |
'status': '/spacestatus/status.json', | |
} |
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
print 'Hello World!' |
NewerOlder