Le 05/07/2012 21:55, anatoly techtonik a écrit :
This one is practical. I am looking at NaCl SDK download page: https://developers.google.com/native-client/sdk/download
"you need Python installed", "download SDK update utility"
What makes me sad that update utility is a Python script in a zip file
which includes shell script and a .bat file for launching this Python script.
This makes me kind of sad. You have Python installed. Why can't you just crossplatformly do:
mkdir nacl cd nacl python -m urllib get http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/up... python update_sdk.py
"Sadness" drama aside, what’s your point? Is this a proposal to add a command-line API for urlretrieve()?
In that case, +1. (For what my vote is worth.) The use cases are limited (just use the Python API) but they do exist, as you showed.