It seems to be useful when you are writing code and it works for the time being but you do not know how to write it neatly
install
pip install howdoi
Various will be installed
requirements Pygments==1.5 argparse==1.2.1 cssselect==0.7.1 lxml==3.2.4 pyquery==1.2.6 requests==2.0.1 requests-cache==0.4.4
HOWTO
% howdoi format dict python
geopoint = {'latitude':41.123,'longitude':71.091}
print('{latitude} {longitude}'.format(**geopoint))
%howdoi install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
%howdoi print golang
return fmt.Sprintf("at %v, %s", e.When, e.What)
%howdoi print lisp
CL-USER> (format t "~{~{~A ~}~%~}"
'((X X X) (X X X X X X) (X X X X X X X X X)))
X X X
X X X X X X
X X X X X X X X X
It seems that if you apply it like English grammar, it will come back as it is
cf. https://github.com/gleitz/howdoi
Recommended Posts