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
// Convert CSV to Altium pin functions. | |
// Contributors: Chris Harrison, René HENKE | |
Procedure CSV2Functions; | |
Var | |
SchLib: ISch_Lib; | |
SchComponent: ISch_Component; | |
OpenDialog: TOpenDialog; | |
PinList: TStringList; |
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
# Courtesy http://plumberjack.blogspot.com/2010/12/colorizing-logging-output-in-terminals.html | |
# Tweaked to use colorama for the coloring | |
import colorama | |
import logging | |
import sys | |
class ColorizingStreamHandler(logging.StreamHandler): | |
color_map = { |