Identify in your simulation workflow something that you need to do manually many times for each simulation, or something you need to do for each of your many simulations. If you can write the problem down in one sentence, it’s a great candidate for scripting.

Next, break up the problem into many small simple steps, this is your pseudocode.

Now try to write it out in Python. Remember, Google is your best friend, if you have a question about something in Python, chances are there have been hundreds of others out there with the same question!

Finally, once it all works, clean up and comment your code, think about how you or someone else might use it in a year!