Skip to content

Instantly share code, notes, and snippets.

@stevel705
stevel705 / tree.go
Created March 4, 2023 10:10
prints the directory tree
package main
import (
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
)
@stevel705
stevel705 / dbf2csv.py
Last active September 5, 2019 14:43
Code for convert file dbf to csv
import csv
import glob
from dbfread import DBF
def dbf_to_csv(input_path):
"""
Script to convert DBF files in the given directory to CSV
:param input_path: Absolute path to directory containing DBF files. Each DBF file must have associated FPT file