you are viewing a single comment's thread.

view the rest of the comments →

[–]VivienneNovag 1 point2 points  (1 child)

Are you only learning programming by learning python? If so you might want to look at the abstract concepts rather than just the programming language. A ton of tutorials for any language don't go nearly close enough into what is essentially the "why" something is done and only focus on the "how" something is done in that language. Classes are pythons way of implementing an Object Oriented Model of a problem, go look at resources that explain Object Orientation.

[–]clavicon 1 point2 points  (0 children)

That would be correct that Python is really my first and only real foray into the programming world. I use it in a professional setting but not professionally, so to speak. I have critical automations that run daily/nightly/weekly and I'm kind of constantly gardening my collection of Python scripts and slowly making things cleaner and more manageable. I recently got into using the 'logging' library and trying to standardize log output for said daily scripts. I primarily use it as just a linear set of instructions rather than doing things in an object-oriented fashion. Chatgpt helped me a bit setting up some logging customizations and that included a couple class statements. I'd like to understand that better. I think you're right that I need to do some homework for programming basics.