I learned a little bit of python back in college with the hope that it would give me a competitive edge in the field I hoped to enter. Lo and behold, I got a job in a different industry entirely and any knowledge of coding I once had became irrelevant.

Would it be worth it to pick up my python textbook again and self-teach in my free time if I don’t want to make a career of coding? What exactly can python be used to create?

  • chaorace@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    If your computer can theoretically do something, you can probably make that happen using Python. Most people don’t use Python to make their own software, though. Rather, they use it to automate tasks by gluing together software made by other people.

    If automating stuff sounds useful or appealing to you, then yeah, learn you a Python. If that sounds like a waste of time… well, why learn something you won’t use? There’s certainly a joy to be had to the learning itself and there’s plenty to be said about how it may broaden your own thinking, but these are intrinsic rewards you can only discover for yourself.

  • Killer_Tree@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I would argue it’s worth having at least a passing knowledge of how Python works. It is a very simple yet powerful language that is used for a lot of applications.

    Personally, I’ve utilized it at work to process data for reports that I would otherwise be doing in spreadsheets by hand. If you learn how to import .csv files, manipulate rows of data, and export back to a new .csv file then you will probably eventually find a use in any office you end up working at.

    As a hobby, if you have any interest in AI art or AI large language model projects then knowing some basic python will be a huge help. Most of the open-source projects and their extensions use Python, and there are many times I’ve tried to use a GitHub tool but gotten an error. Knowing Python, I am able to track down and fix small issues about 80% of the time, which feels pretty cool.

    Finally, even if you don’t get much/any use out of Python, it’s probably worth learning just so you understand how scripts, imported libraries, and basic programming logic works. Just having that baseline understanding will make you look like a rockstar when dealing with a companies proprietary software in many office settings.

  • bstix@feddit.dk
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Probably. I learned the basics of coding when I was young and I constantly find use for it, even if I’m not a coder by trade.

    It’s not the language or editor or anything specific, but the core understanding of rigid logic and the linear thought necessary to solve problems that makes the difference.

    The understanding of programming is itself a tool. Just like if all you have is a hammer, every problem is a nail, but if you didn’t have the hammer in the first place, then you wouldn’t think of it being a solution at all. Get yourself a hammer, get yourself an understanding of programming.

    In practical usage I make a lot of use of VBA for Excel. It’s not a very good language but it is fast and extremely versatile. Obviously I use it mostly for Excel data, but the task doesn’t even have to be related to numbes at all. F.i I made an app to sort a bunch of image files and rename them according to a list that came from some other software. It used to be a dreadful task that would take hours and hours.

    I believe this could be done in almost any job that involves any kind of data. Even if the data are just any sort of files on a pc.

    Python is similar. You might not need python specifically, but if you understand what you can do with it, then you can apply that usage to many situations.

  • ShadowAether@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    People certainly code as a hobby or have personal projects. But I wouldn’t say reading a textbook is fun for me, if I want to make a personal app then I’ll just learn what I need as I go.

  • cyberic@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I would check out the online free book How to Automate the Boring Stuff with Python it gave a lot of ideas for little scripts that can save me time (not hours usually, but about an hour over time so far) such as my script for organizing my downloads folder based on the file extension.

  • emergencycall@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Programming can be used to automate yourself out of your job if you are interested in helping your employer generate value for shareholders

    • Hydroel@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      On a personal level, it can also help make your job more interesting by automating tedious tasks, freeing up more space to do actually useful stufd.

      • kamenoko@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Better yet, automate the boring stuff, never tell your boss and enjoy a stress free day to find some other job that isn’t so pointless.