Closed as duplicate
Why are you trying to do that? You should do this instead!
To be fair, there are a lot of “XYZ” problems on Stack Overflow where someone’s missing the point with the problem they’re trying to solve.
“I need my script to delete my file, but I can’t figure out the pathing so I delete random files until the correct one is gone. However, it’s slow – how do I speed my script up when deleting random files?”
Before I answer your question, let me tell you a little bit about formatting and why that’s really what you should be more concerned about and how nobody will want to program beside you if you make an else if statement that could have been made into a switch and…
Did you search before asking?
I hate posts where the answer is the top search result on Google. We’re not here as a proxy for a search engine.
Some subreddits had a “use Google first” rule.
I hate posts where the question is the top (or only) search result and the answer is some dickwad saying “did you try Googling first, smh”.
Typing a query in to Google is faster than making a post on Reddit and yet people still wanted you to do it for them. I never posted “have you tried Google?”, or anything like that, but lmgtfy links were always a fun option.
Get out of here you utter worthless piece of shit
- That one Stack overflow user