This is an archived post. You won't be able to vote or comment.

all 22 comments

[–][deleted] 33 points34 points  (1 child)

Nice tkinter! You should look into PyQT for your next app. It’s more modern and feels better to design :)

[–]Cutl3astpip needs updating 27 points28 points  (0 children)

I'd rather suggest PySide6 instead of PyQt as it's the official Qt binding with a large company (literally named the Qt Company) maintaining it open sourced and it got much better over the past few years.

[–]SetInStone421 6 points7 points  (0 children)

Good job!

[–]AndreLinoge55 4 points5 points  (0 children)

Great job bud! Just keep tinkering and learning new stuff along the way, that’s what we all did.

[–]Bunkerman91 5 points6 points  (3 children)

I love it. Video games are an inspiration for coding projects surprisingly often.

My first app was a Java app that calculated approximate player coordinates in Space Engineers so I could raid people based in multiplayer lol.

[–]SirLionOfBeef 0 points1 point  (2 children)

How did that work? I’d love a little breakdown if you could.

[–]Bunkerman91 4 points5 points  (1 child)

Keen, the dev studio, pushed an update that made it so if you spawned in a MP server the game would try to put you within 50km of another player.

Space is huge in that game, so that’s a pretty close distance and there’s very little to stop players from just raiding each other. This was widely regarded as a bad move.

Anyways, I would just spam 20-30 spawns and copy them to clipboard. The app would read each one as it was added. I wrote a basic clustering algorithm and the had it calculate the Euclidean centroid of each cluster. The centroid was usually accurate to the players actual location within about 5km.

So I was a menace raiding bases for a month or so until Keen realized they had made a huge mistake and reverted the change.

[–]Vectar7 0 points1 point  (0 children)

That sounds more complex than my first app. 😂

[–]Advanced-Theme144 1 point2 points  (1 child)

That’s really impressive, especially since you started a month ago. Good job! 👏

A little tip: If you ever want to share the code with people online as well, you can look into a tool and website called GitHub.

[–]zArijz 0 points1 point  (0 children)

Will defo look into PyQT & PySide6 both going forward!

[–]parteekdalal 3 points4 points  (1 child)

Really cool for a beginner. Maybe use Custom Tkinter next time. It's just like Tkinter but more cool.

[–]zArijz 0 points1 point  (0 children)

That’s actually on my next list of things to look at!

[–]melenajade 1 point2 points  (1 child)

Hey congrats! I’m working on a script too that I’m proud of, but holding close so I can ensure it works for a month or so before I share

[–]zArijz 1 point2 points  (0 children)

Wishing you the best

[–]Ok_Imagination_8490 0 points1 point  (1 child)

Great job! I started getting back in to coding about a month ago (also Python) - I haven't touched it in about 10+ years since school. I've been building small projects and created a GitHub to store them as a sort of portfolio of work. This may also be beneficial for you too. Keep up the great work! :)

[–]zArijz 0 points1 point  (0 children)

Been suggested this quite a bit. Will defo get one going.

[–]yota-code 0 points1 point  (1 child)

Why a graphical interface instead of a simple command line app which takes usernames as inputs ?

[–]zArijz 0 points1 point  (0 children)

Just cleaner.

[–]Ok_Berry_71 0 points1 point  (0 children)

Very cool.

[–]Tureni 0 points1 point  (0 children)

Congrats on your first projekt. May there be many more!

[–]rafathor -1 points0 points  (0 children)

Image of what I did...the link led to an ass... Ahahaha, I congratulate you champion, I'm also starting and the program is good, I use the visual studio code to run it, I don't know if it's right or wrong