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
# -*- coding: utf-8 -*- | |
# | |
# Open MetaDesign Classes v0.3 | |
# | |
# Author: | |
# Massimo Menichinelli | |
# Website: | |
# http://openmetadesign.org | |
# http://openp2pdesign.org | |
# E-mail: |
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
# -*- coding: utf-8 -*- | |
# | |
# Open MetaDesign Classes v0.2 | |
# | |
# Author: | |
# Massimo Menichinelli | |
# Website: | |
# http://openmetadesign.org | |
# http://openp2pdesign.org | |
# E-mail: |
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
# Author: Massimo Menichinelli | |
# License: GPL v.3 | |
import csv | |
import networkx as nx | |
ifile = open('okf2.csv', "rb") | |
reader = csv.reader(ifile) | |
g = nx.DiGraph() |
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
int ledPin = 13; // LED connected to digital pin 13 | |
void setup() | |
{ | |
pinMode(ledPin, OUTPUT); // sets the digital pin as output | |
} | |
void loop() | |
{ | |
digitalWrite(ledPin, HIGH); // sets the LED on |
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
# -*- coding: utf-8 -*- | |
# License: Public Domain (use it as you like!) | |
# Import main wxPython libraries | |
import wx | |
import wx.xrc | |
# Import the wxGestalt module for Gestalt Machines | |
import Machines.wxMachines as wxMachines | |
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
#!/usr/local/bin/python | |
# -*- coding: utf-8 -*- | |
import wx | |
import serial | |
# Import matplotlib for wxPython | |
import matplotlib | |
matplotlib.use('WXAgg') |
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
# -*- encoding: utf-8 -*- | |
# | |
# Author: Massimo Menichinelli | |
# Homepage: http://www.openp2pdesign.org | |
# License: MIT | |
# | |
import subprocess | |
import os | |
import string |
NewerOlder