Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 16832

can't display compund image below a text in pycharm (macOS)

$
0
0

` from tkinter import *

window = Tk()photo = PhotoImage(file='nft.png')label = Label(window,              #text="kaizen nft",              font=('Ariel',40,'italic'),              fg='green',              bg='black',              relief=RAISED,              bd=10,              padx=12,              pady=12,              image=photo,              compound='bottom')label.pack()#label.place(x=0,y=0)window.mainloop()

`

tried learning labels in graphical user interface (macOS)


Viewing all articles
Browse latest Browse all 16832

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>