Blake O'Hare .com

Accepting Command Line Arguments in Python Scripts

Since it's not quite as obvious as it is in other languages like Java and C# where the main function always accepts a string array, I figured it was worth mentioning. And also a really cheap blog post:

import sys
args = sys.argv