finally-a-throwaway

u/finally-a-throwaway



r/learnpython•

I'm automating processes for work, and I have an idea that eventually I'll have some processes automated end to end.

However, there are many steps and if something goes wrong halfway through I would need to intervene and then resume from that step.

How would you implement that? Just having one long script wouldn't work because it would start from the beginning. The two things I have thought of so far are:

  1. Each step is a separate script and calls the next upon successful completion, or

  2. Some kind of checklist file that is read before each step and updated after - is there an existing library that handles this sort of thing?

Thanks for reading! tl;dr: process flow?

15


So I posted this on TwoX thinking they'd have some good insight, and I got a couple good responses but also 57% downvotes so maybe that's not the place for it... so what would you guys do in this situation?

So my ex wife ("Sally") told me that a coworker's SO ("Scumbag") pinched Sally's boob, and when she protested Scumbag said "you know you like it". Apparently Scumbag cornered another coworker ("Nina") awhile ago and grabbed her pussy, and Nina subsequently quit.

The employer ("Satan's Daycare") doesn't want anyone making waves.

Sally asked me what she should do, and I said I don't know, but that's sexual assault and it's illegal and she should probably make a police report... and since

618

r/TwoXChromosomes•

Hello, TwoX. I was hoping y'all could provide some ideas or perspective or suggestions as I wasn't really sure how to respond...

So my ex wife ("Sally") told me that a coworker's SO ("Scumbag") pinched Sally's boob, and when she protested Scumbag said "you know you like it". Apparently Scumbag cornered another coworker ("Nina") awhile ago and grabbed her pussy, and Nina subsequently quit.

The employer ("Satan's Daycare") doesn't want anyone making waves.

Sally asked me what she should do, and I said I don't know, but that's sexual assault and it's illegal and she should probably make a police report... and since she still lives in my house, I assured her that if she gets fired over it, sh

09

r/AskFeminists•

What is your opinion/response to Leslie Kinzel’s piece on xoJane about “mansplaining”? And if you disagree with Ms. Kinzel’s position, do you consider yourself an anti-essentialist?

Also, if you suggest that “mansplain” effectively conveys a particular message, I will probably also ask you to comment on Annie-Rose Strasser’s piece where she says “I’ve spent more time defending and defining the term than using it.”

I’ve gotten a bit caught up in the discussion on this topic here over the past few days, and if I’ve said anything offensive

62


r/Divorce•

What would r/divorce do?

My STBX cheated and has maintained an ongoing relationship with the guy for several months now. I have not met him. We have kids. The kids have met him. Our divorce should be final within the next couple of weeks.

Assuming their relationship continues, I'm going to have to face him at some point. And if he's going to be around my kids any more, I certainly want to know what kind of person he is.

What would you do? What would you say? How would you structure it? I'm just having a hard time wrapping my brain around it, and I think I'm still just kind of stuck on wishing he didn't exist, which is getting in the way of figuring out how to move forward.

Can you give

1125