Python PIP: is the order in which parameters are specified?
The pythonic way to deal with comand string arguments is to use the module that comes with the python standard library.
And after you pass the arguments, the application will receive them and parse them in a specific order (look at the pip source code if that's important to you).
Some actions can be postponed after analysis, but they have a strict order.
The order is not important and both examples will always do the same (unless some error occurs).
source to share