How do I solve this error?
"could not open" 3.gif ": no such file or directory"
I created a folder in which I saved the work and the image but followed the error.
The code I have to implement the image:
import numpy as np
import random
if __name__ == "__main__":
print ("Hello World")
from tkinter import *
from tkinter import ttk, font
raiz = Tk() # Creación de la ventana principal
raiz.geometry('655x435') # ancho x alto
raiz.configure(bg = 'red')
raiz.title('Matriz')
fuente = font.Font(weight='bold')
#ima=PhotoImage(file="3.gif")
#lbiman=label(raiz,imagen=ima).place(x=5,y=5)
campo=[]
boton1 = ttk.Button(raiz, text="crear matriz", padding=(5,5))
boton1.grid(padx=5, pady=30,sticky=( E, W))