[CentralOH] 2016-04-29 道場 Scribbles 落書/惡文? refactoring december meeting dates dunning-kruger 3n+1 fizzbuzz sh ls -l -1 Win10 wx venv/virtualenv v (ana|mini)conda pytest inittest scikit-learn
jep200404 at columbus.rr.com
jep200404 at columbus.rr.com
Sat Apr 30 20:21:17 EDT 2016
Explore http://colug.net/python/dojo/20160429/.
http://nbviewer.jupyter.org/url/colug.net/python/dojo/20160429/dojo-20160429-2016-Mar-COhPy_Challenge_Rough.ipynb
What more would you change for that in little function?
Played with refactoring a function from one of the previous challenges.
It was much fun.
unskilled people are not as skilled as they think
wp:Dunning–Kruger effect
dumb people are dumber than they think
smart people are smarter than they think
wp: prefix means Wikipedia
To get good answers, consider following the advice in the links below.
http://catb.org/~esr/faqs/smart-questions.html
http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html
colug.net/python/dojo/20160415/
ls -l
ls -1
dojo at 4519_n_high:~/sh$ virtualenv env
New python executable in env/bin/python
Installing setuptools, pip...done.
dojo at 4519_n_high:~/sh$ source env/bin/activate
(env)dojo at 4519_n_high:~/sh$ pip install sh
Downloading/unpacking sh
Downloading sh-1.11.tar.gz
Running setup.py (path:/home/dojo/sh/env/build/sh/setup.py) egg_info for package sh
Installing collected packages: sh
Running setup.py install for sh
Successfully installed sh
Cleaning up...
(env)dojo at 4519_n_high:~/sh$ python2
Python 2.7.6 (default, Jun 22 2015, 18:00:18)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sh
>>> sh.ls('-l')
total 4
drwxrwxr-x 6 dojo dojo 4096 Apr 24 22:04 env
>>> sh.ls('-1')
env
>>>
(env)dojo at 4519_n_high:~/sh$
Microsoft's Windows 10 nagware storms live TV weather forecast
http://www.theregister.co.uk/2016/04/28/windows_10_live_tv/
venv is preferred for Python3
virtualenv is preferred for Python2
(ana|mini)conda versus virutalenv/venv
from __future__ import print_function
use pytest instead of unittest
friends don't let friends use unittest
scikit-learn
Oxford, serial, and Harvard commas
Stunk & White's Elements of Style
Kernighan & Plauger's The Elements of Programming Style
Copy README.md
from https://github.com/cohpy/challenge-201604-words/raw/master/README.md
paste it into ipynb cell.
Make that cell a markdown cell.
More information about the CentralOH
mailing list