What is Python's parameter passing mechanism?

This post was flagged by the community and is temporarily hidden.

To pass parameters to a script, Python uses sys.argv. They are accessed as sys.argv[1], etc. Passing parameters to a method (function in Python) is the same as in Ruby.

This describes some of the nuances of Python parameters.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs