Since there's nothing about your needs that seem to require a specific python version, or a package only available to 2 or 3, I'd use whatever you're most comfortable with, or already runs on your server. It sounds like you're new to python, and don't plan on using it for much, but want a nearly copy-and-paste solution to your problem. Since there's still more information around built up from years of people having posting solutions to problems on their blogs about using python 2, I'd use the newest version of that. Obviously if something is already installed on your server, no need to go mucking with other versions if you just want a few utility scripts. Additionally, porting is still easier to do from 2 to 3 than the reverse; esp. for a small codebase, shouldn't be hard to switch if you ever find the need.