3 ms·
1) There's certainly not "one way" to iterate in Python[1], and they're not even consistently named (xrange is the iterator version of range, but izip is the it
by smt88 10y ago
1) There's certainly not "one way" to iterate in Python[1], and they're not even consistently named (xrange is the iterator version of range, but izip is the iterator version of zip).
2) You can use Python in the browser[2][3][4 sort of].
1. https://youtu.be/OSGv2VnC0go?t=3m20s https://youtu.be/OSGv2VnC0go?t=3m20s
2. http://transcrypt.org http://transcrypt.org
3. http://pyjs.org http://pyjs.org
4. http://www.rapydscript.com http://www.rapydscript.com
- djsumdog 10y agoFrom "import this" > There should be one-- and preferably only one --obvious way to do it. Key words are preferably and obviously. Of course there are going to be multiple ways to do everything, but it'd be nice if the best practice is pretty obvious. > Although that way may not be obvious at first unless you're Dutch.