Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Yulong Jing jingyulong

🎯
Focusing
View GitHub Profile
@patriciogonzalezvivo
patriciogonzalezvivo / PythonSetup.md
Created Oct 7, 2014
How to install Python correctly on Mac OSX
View PythonSetup.md

Install Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Add PATH to ~/.bash_profile and ~/.zshrc

export PATH=/usr/local/bin:$PATH
@nsonnad
nsonnad / tsv2csv.py
Created Nov 22, 2013
Python script for converting tsv to csv
View tsv2csv.py
import sys
import csv
tabin = csv.reader(sys.stdin, dialect=csv.excel_tab)
commaout = csv.writer(sys.stdout, dialect=csv.excel)
for row in tabin:
commaout.writerow(row)
You can’t perform that action at this time.