Live data from Hacker News

Ask HN: What Python automation scripts do you reuse frequently at work?

news.ycombinator.com

11–12 of 12 posts

Re: Ask HN: What Python automation scripts do you reuse frequently at work?

#11
When we hire a few new people I start a new round of Coffee Chat Bingo.

My python script takes all our employee headshots and makes everybody a unique bingo card (obviously excluding their own headshot). Then they bring their bingo card to our virtual weekly Coffee Chats and get to mark off somebody else who is there.

First person to get a row wins a small prize (coffee gift card) and then we usually have a second place as well (submarine shape gets a sub sandwich gift card) — after that enthusiasm starts to fall off. Helps the new people to get to meet more people than they would if there wasn’t a gameified incentive.

Re: Ask HN: What Python automation scripts do you reuse frequently at work?

#12

Earlier quoted context omitted.

Not OP, but I usually trigger Python scripts from cron.

Is your cron running locally or do you have it set up on a server?

I usually have cron jobs set up on servers for simple things.

If I'm doing large scale web development, I tend to use containers, so I'll use a scheduling mechanism appropriate for whatever framework I'm using. For example, if I'm building a Django application, then I use Celery.

There's always the tradeoff of just using the tools you get for free in a Linux distro, but paying the price of handling multiple DSLs, versus installing, configuring, and managing a larger system with a more homogenous interface.

Post reply on HN