AttributeError when running Python
<p>When running my program that makes the function call</p>

<pre><code>self.getFileButton = Button(self,
                            text = "...",
                            command =
                            tkFileDialog.askopenfilename(mode="r+b", **self.file_opt))
</code></pre>

<p>I get the error</p>

<pre><code>File "C:/Documents and Settings/l/My Documents/Python/csv_GUI.py", line 33, in create_widgets
tkFileDialog.askopenfilename(mode="r+b", **self.file_opt))
</code></pre>

<p>AttributeError: selectFile instance has no attribute 'file_opt'</p>
