Will this image always load into the .py app if it's in the same directory?
<p>I'm writing an application that I would like to use this .gif file in. If I want to execute this app with this picture in the same folder as the .py file will it simply show with this code or do I have to embed them into the app using base64? Thanks for your help.</p>

<pre><code>jlu_logo = tkinter.PhotoImage(file="jlu-logo.gif")
jlulogo = tkinter.Label(main, image = jlu_logo)
jlulogo.place(x=255, y=230, anchor="s")
</code></pre>

<p>you could try something like</p>

<pre><code>import os

jlu_logo = tkinter.PhotoImage(file=os.path.join(os.path.dirname(__file__), "jlu-logo.gif"))
jlulogo = tkinter.Label(main, image = jlu_logo)
jlulogo.place(x=255, y=230, anchor="s")
</code></pre>

python python-3.x tkinter