Skip to content

Instantly share code, notes, and snippets.

View sunt05's full-sized avatar

Ting Sun sunt05

View GitHub Profile
"""
Standalone python script for QGIS3 on OSX.
"""
import os
import sys
# Define plugin locations from QGIS3
sys.path.append('/Applications/QGIS3.app/Contents/Resources/python/')
sys.path.append('/Applications/QGIS3.app/Contents/Resources/python/plugins')
# Define Qt5 plugin path since Qt5 can't find it
@sunt05
sunt05 / gist:1cdc72c2bfe2cabdd33e1528eb82dc1d
Created July 30, 2017 09:54 — forked from agathe/gist:2956101
VBA Excel - Convert each sheet to CSV - For MAC
Function SaveAllSheetsAsCSV(outputPath As String)
On Error GoTo Heaven
' each sheet reference
Dim Sheet As Worksheet
' path to output to
'Dim outputPath As String
' name of each csv
Dim OutputFile As String