Login | Register
Nerd ParadiseArtisanal tutorials since 1999

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 quick and easy blog post:

import sys
args = sys.argv