Specifically thinking of stuff that make your life better in the long run but all kinds of answers are welcome!

I’ve recently learnt about lifetraps and it’s made a huge positive impact on how I view myself and my relationships

  • Captain Aggravated
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I use Bash rather than Python for this, but I have scripts for doing things like converting a .docx to a .pdf file. Sure you can open MS Word, wait for it to load, navigate the menus, maybe have to know that some software still handles this via the Print dialog for some reason, that you “print to PDF,”…or write a little script that does the job, put it in a certain folder along with a little ~6 line config file, and now you can right click a file and click “convert to PDF” and it just does it without opening any apps.

    I have occasional need to do things to image files, like rotate a batch of them, or convert them to gray scale. Once again I have bash scripts that call imagemagick for this, but it can be done in Python using the Python Image Library (PIL).

    I use a Python-based autokeyer, I have a bunch of abbreviations or whatnot that I can type, like (asterisk)wtl becomes Welcome to the Linux community! because I used to type that so often when I was active in r/linuxmasterrace. That one is just a simple find-and-replace that takes no coding, but I have some that insert the correct date, that look up information from files on the fly and insert it…if you write business emails, you really should have an autokeyer.