title: PermissionError: [Errno 13] Permission denied
body: <p>I'm getting this error :</p>
  <pre><code>Exception in Tkinter callback
  Traceback (most recent call last):
  File &quot;C:\Python34\lib\tkinter\__init__.py&quot;, line 1538, in __call__
  return self.func(*args)
  File &quot;C:/Users/Marc/Documents/Programmation/Python/Llamachat/Llamachat/Llamachat.py&quot;, line 32, in download
  with open(place_to_save, 'wb') as file:
  PermissionError: [Errno 13] Permission denied: '/goodbye.txt'
  </code></pre>
  <p>When running this :</p>
  <pre><code>def download():
      # get selected line index
      index = films_list.curselection()[0]
      # get the line's text
      selected_text = films_list.get(index)
      directory = filedialog.askdirectory(parent=root, 
                                          title=&quot;Choose where to save your movie&quot;)
      place_to_save = directory + '/' + selected_text
      print(directory, selected_text, place_to_save)
      with open(place_to_save, 'wb') as file:
          connect.retrbinary('RETR ' + selected_text, file.write)
      tk.messagebox.showwarning('File downloaded', 
                                'Your movie has been successfully downloaded!' 
                                '\nAnd saved where you asked us to save it!!')
  </code></pre>
  <p>Can someone tell me what I am doing wrong?</p>
  <p>Specs :
  Python 3.4.4 x86
  Windows 10 x64</p>