unix, pack folder and contents with tar gz
tar -zcvf packagename.tar.gz folder/
11381 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
tar -zcvf packagename.tar.gz folder/
import gzip zfile = gzip.GzipFile('somefile.gz') content = zfile.read() zfile.close()