Skip to content

Instantly share code, notes, and snippets.

@pombredanne
Created July 1, 2019 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pombredanne/f80f2d4d3bf5d1761f2deb5a58d62ca7 to your computer and use it in GitHub Desktop.
Save pombredanne/f80f2d4d3bf5d1761f2deb5a58d62ca7 to your computer and use it in GitHub Desktop.
# 1. fetch https://github.com/nexB/scancode-toolkit/raw/924f53d5932fcb69acad76d07f60f6b52176b2f5/tests/commoncode/data/fileutils/walk_non_utf8/non_unicode.tgz
# 2. cd to the directory where this is saved and run this:
python -c "import tarfile;tarfile.open(u'non_unicode.tgz').extractall(u'.')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment