6
My first Python script tried to email my grocery list to 500 people
I wrote a simple script to email my list to myself, but I messed up a loop and it sent it to my whole contact list. After fixing it, I learned to ALWAYS test code with fake data first. Has anyone else had a script do something totally wild by accident?
3 comments
Log in to join the discussion
Log In3 Comments
terry6775d ago
Oh man, you just did a spam attack on your friends.
7
the_hayden5d ago
Ever wonder if your code has a secret wish to become a viral sensation? I once wrote a script that was supposed to rename a few files and it nearly wiped my whole vacation photo folder instead. Guess we all have to learn the hard way to double check those loops, huh?
4