G+_Guttormur Ingi Einarsso Posted July 15, 2014 Share Posted July 15, 2014 I think it would be good if they covered parameters (hope its the correct word) like when you run your script demo.py because it relay helps with understanding dynamic webpages and how you use the same script to fetch different data based on a parameter :) Link to comment Share on other sites More sharing options...
G+_Lee Crocker Posted July 19, 2014 Share Posted July 19, 2014 These are called command line arguments, and are used for programs run from the command line. Perl uses the built-in array @ARGV. Likewise, Python uses the array sys.argv. The names are a nod to C, where arguments are passed to the main function as parameters traditionally named argc & argv (though this is not a requirement, merely convention). Link to comment Share on other sites More sharing options...
Recommended Posts