Skip to content

Instantly share code, notes, and snippets.

@jeakwon
Last active February 12, 2019 02:12
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 jeakwon/3a04b6ef64c21b8470559029a7dfb575 to your computer and use it in GitHub Desktop.
Save jeakwon/3a04b6ef64c21b8470559029a7dfb575 to your computer and use it in GitHub Desktop.
Desktop path snippet
import os
def get_file_from_desktop(filename):
filepath = os.path.expanduser('~/Desktop')
fullpath = get_file(filepath,filename)
return fullpath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment