Skip to content

Instantly share code, notes, and snippets.

Created January 27, 2022 17:02
What would you like to do?
import fsspec
from pathlib import Path
# download a single file
destination = Path.home() / "downloaded_readme.txt"
fs = fsspec.filesystem("github", org="githubtraining", repo="hellogitworld")
fs.get("README.txt", destination.as_posix())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment