I have a script for importing the contents of csv files in to a database. But when I try
filepath = '/Users/mc_kaiser/Desktop/Foo\ 020218-021318.csv'
test = open(filepath)
I get an IOError
:
IOError: [Errno 2] No such file or directory: '/Users/mc_kaiser/Desktop/Foo\\ 020218-021318.csv'
I looked at this SO post and tried some of the answers, but it's Windows specific and didn't answer my question. Thank you!