Skip to content

Instantly share code, notes, and snippets.

@JamesIgoe
Created February 7, 2022 18:37
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 JamesIgoe/8361eea7ceba9f7670752272927913dc to your computer and use it in GitHub Desktop.
Save JamesIgoe/8361eea7ceba9f7670752272927913dc to your computer and use it in GitHub Desktop.
import os
os_name = os.sys.platform
pc_download_folder = '//tbd.../'
mac_download_folder = '/tbd.../'
file_name = 'tbd.csv'
#Mac or PC Path
if os_name == 'darwin':
file = mac_download_folder + file_name
else:
file = pc_download_folder + file_name
df = pd.read_csv(file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment