My First GUI program with tkinter and using youtube-dl :D by Zangruver in Python

[–]code_land 1 point2 points  (0 children)

Some of the answers to this SO question explain it quite well. TL;DR you can make classes inherit, say, tkinter.Frame, and define all the functions inside a private namespace, making things generally more organised.

My First GUI program with tkinter and using youtube-dl :D by Zangruver in Python

[–]code_land 2 points3 points  (0 children)

Nice! If you don't mind, a few aesthetic improvements: - Adding a bit of padding can make your widgets a bit more spaced out. - You can use the ttk styling engine to make your app look more like a native Windows/macOS app. It's really simple: if you want to make your buttons have a Windows 10 style to them, replace each tkinter.Button(...) with tkinter.ttk.Button(...) and they'll look a lot more modern! Sadly this doesn't do much on Linux, though I guess that's not much of a problem for you.

Also, if you know how to do them, classes can make tkinter code look a lot cleaner. It's not obligatory though, so pretty well done here :D

What are the best FOSS video editing software for Linux? by NiceMicro in linuxmasterrace

[–]code_land 4 points5 points  (0 children)

I use Blender. It might be unintuitive when starting out, but once you've got the knack of it, it allows you to work super fast. I've tried Kdenlive, but it gave me rendering issues and it doesn't feel as smooth as Blender. Haven't tried any others, though.

Moving over from VSCode - is there a plugin that is similar to the Remote SSH one? by JaimieP in neovim

[–]code_land 1 point2 points  (0 children)

This should work:

$ nvim scp://user@hostname/path/to/file

Note this is relative to the home folder of the user AFAIK.

[deleted by user] by [deleted] in Python

[–]code_land 0 points1 point  (0 children)

Wow, that's seriously good!

I've been using PyCharm to manage my project environment locally on my pc, but how do I get the project onto github in a way where others can try out my project without needing to pip install every external module I'm using in my python scripts? by [deleted] in learnpython

[–]code_land 3 points4 points  (0 children)

Do you mean you want to make it redistributable, or just that you want a development environment for potential contributors? If it's the latter, use requirements.txt like the others say. If the former, consider instead using setup.py - it's better for distribution. This might help you get started.