title: Pyinstaller : program that reads a csv
body: <p>I'm building a program in python that reads a csv file given by the user. </p>
  
  <p>I'm using Pyinstaller to build a MacOS Application. </p>
  
  <p>In windows, I used CX_freeze and I just had to put the csv file in the same directory than the .exe for the program to work. But with PyInstaller, the file is not found Even if I put it in the same directory. </p>
  
  <p>So where the user has to put the file in order for the program to find it ? </p>
  
  <p>the program is a very basic one, something like this :</p>
  
  <pre><code>import pandas as pd
  
  df = pd.read_csv('file.csv')
  
  print(df)
  </code></pre>
  
  <p>Thanks.</p>