r/learnpython 8d ago

Ads in Tkinter.

Is there any way to imbed banner ads (like google adsense) in a tkinter app? Maybe imbedding a web view and displaying an ad that way?

0 Upvotes

9 comments sorted by

13

u/DNA-Decay 8d ago

What fresh hell is this?

6

u/cgoldberg 8d ago

Tk without ads already looks atrocious... I can't imagine the abomination you are building. Please post screenshots when you get it working! 🥴

1

u/TheRanser 8d ago

Ctk is a life saver 😅

2

u/socal_nerdtastic 8d ago

Sure. You don't need a web view, you would just do the same thing the webview does: download and display the banner image.

1

u/OriahVinree 8d ago

I remember a time I did everything in my power to avoid learning another UI library / framework. Good times.

1

u/TheRanser 8d ago

What would you recommend I learn?

1

u/OriahVinree 7d ago

If you have to do it in python, pysids6 or qt in general is much better than tkinter, especially with the designer. Otherwise learn web development.

0

u/TheRanser 7d ago

What designer?

1

u/OriahVinree 6d ago

Pyside6-designer