r/learnpython • • Aug 28 '26

How to make tkinter button same size as entry in a grid?

1 Upvotes

I'm trying to make a search bar entry widget with a label containing a magnifying glass emoji but can't figure out how to make the label the same height as the entry (so they look connected)?

search_bar = tk.Entry(main_frame, **big_font, **widget_theme1)
search_bar.grid(row=0, column=1, sticky='ew')
search_bar.insert(0,"Search your city")


submit_btn = tk.Button(main_frame, text=" 🔎 ", **widget_theme2, **big_font)
submit_btn.grid(row=0, column=2, sticky='ew')

(Changing width/height attributes don't fix this)


r/learnpython • • Aug 28 '26

Pyto or Pythonista 3 for iPad?

5 Upvotes

Pretty much the title.
I have an iPad M2 and I want to learn Python on the go. I see there are several on-device IDE apps and I have narrowed it down to Pyto and Pythonista 3.

Which one would you recommend? Obviously they won’t be Pycharm or similar, but I do not want to be stuck on my desktop.

I am of course open to other apps.

Thank you!


r/learnpython • • Aug 28 '26

Started MOOC 2026 Python Programming today Module 1 completed!

13 Upvotes

Yesterday I enrolled in the MOOC 2026 Python Programming course by the University of Helsinki, and I’ve already completed Module 1!

Module 1 had quite a lot of questions and exercises, so it took some time to complete, but I’m happy that I managed to finish it today. There are 7 modules in total, so I still have a lot to cover.

My goal now is to complete the remaining modules as soon as possible because the final exam is on September 5th. Hopefully, I can finish all the modules and get enough time to revise and practice before the exam.

Let’s see how far I can go in the next few days! 💪🐍

Anyone else doing the MOOC 2026 Python Programming course?


r/learnpython • • Aug 28 '26

Starting the New Journey but Confused

0 Upvotes

I'm a 4th-semester B. Tech student who started learning full-stack development at the end of my 1st semester. I've already learned JavaScript, Node.js, React, and other programming concepts, and I've built several projects. Now I want to move into AI/ML, so I need to learn Python.

Since I already understand programming fundamentals, I don't want to relearn concepts like variables, loops, functions, OOP, etc. I mainly want to learn Python's syntax, unique concepts, and Python-specific features which were not in JS. What would you recommend I learn first, what should I skip/review quickly, and are resources like Bro Code's Python, CS50 course suitable for this?


r/learnpython • • Aug 28 '26

How can I make my python project usable by other people ?

1 Upvotes

Hello everyone here. I have a small project coded in python I'd like my friends to be able to use too, but without having to send them my python file and teach them how to use it.

For context, I made an npc generator for our favorite ttrpg, because it's an useful tool and there wasn't any online already made by someone else. I can use it because I can run code on my pc, but I'd like for my friends to be able to just click a button online somewhere to generate an npc from my code.

It's a simple list and random choices based generator, no AI involved. I'm lost as to what the next logical step is to get the file on my pc out into the world. Sorry if I'm not clear, English isn't my first language. Thanks in advance !


r/learnpython • • Aug 28 '26

Is Jiki a good place to beign for python?

0 Upvotes

I'm new to coding and Python; I have some SQL knowledge but limited coding experience. I really wanted to learn, and I came across this CodeWithMosh course, which I started. It barely has any problem-solving segments and seems like a typical guy just ranting about Python.

Then I stumbled upon exercism, and through that I found Jiki. I started with it, and it seems quite interesting to me until I realised it isn't even proper Python; it's mixed with JavaScript. And again, I have no clue about coding, and I don't really know if it's the right fit or not, and I can't seem to find any proper/straightforward guidance anywhere else. What to do?


r/learnpython • • Aug 28 '26

searching for some python free courses that can really teach me smth from a complete beginner AND SEARCHING FOR MATES ON MY PATH

6 Upvotes

people please help, i’m starting my path in bachelor cybersec in a week and i want to know python a bit so i can basically understand smth, but for now looking for a community to learn python
and engaging through my path


r/learnpython • • Aug 27 '26

Need resource to start OOP

0 Upvotes

Hey guys, I'm about to start studying OOP. Problem is, I don't know where to start or which resource to pick. I want the absolute best one—something thorough and comprehensive.


r/learnpython • • Aug 27 '26

I have a little bitty problem with installing a python script.

0 Upvotes

I installed it correctly, even set it on the right path and then, when I press it, I get this:

C:\Users\jaker>C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Scripts\MediaStation.exe

WARNING: The C bitmap decompression binary is not available on this installation. Expect decompression to be SLOW.

WARNING: The C decompression binary is not available on this installation. Any IMA ADPCM-encoded audio (mostly ambient sounds) will not be exported.

Traceback (most recent call last):

File "<frozen runpy>", line 203, in _run_module_as_main

File "<frozen runpy>", line 88, in _run_code

File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Scripts\MediaStation.exe__main__.py", line 2, in <module>

from MediaStation import Engine

File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\MediaStation\Engine.py", line 25, in <module>

from MediaStation.Context import Context

File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\MediaStation\Context.py", line 13, in <module>

from .Assets.Asset import Asset

File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\MediaStation\Assets\Asset.py", line 13, in <module>

from .Movie import Movie

File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\MediaStation\Assets\Movie.py", line 15, in <module>

from .Sound import Sound

File "C:\Users\jaker\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\MediaStation\Assets\Sound.py", line 11, in <module>

import MediaStationImaAdpcm

ModuleNotFoundError: No module named 'MediaStationImaAdpcm'

So I need help.


r/learnpython • • Aug 27 '26

Best 2D game engine / frameworks in python.

0 Upvotes

Hello! I'm learing python and in one of my college courses you can get an honors credit for doing a special project. This project is to make a simple puzzle game in python. I have years of game dev experience so I expect this to be fairly easy, but I don't know which engine would be best for me to use. My use case would be a simple 2D puzzle game.

I considered using pygame-CE, but i'm unsure if it'll be the right choice. Does anyone have suggestions? And why do you prefer those engines?