Ruby Python Cheatsheet

Vote on HN

Some equivalents for my reference:

Ruby Python Comment
Rubygems Eggs python setuptools, utility is called easy_install
__FILE__ ???
$: or $LOAD_PATH import sys; sys.path
a ? b : c b if a else c stupid ternary operator
sys.stdout; sys.stderr
script/console django-admin.py shell
restful auth, clearance, auth plugins [auth middleware](http://docs.djangoproject.com/en/dev/topics/auth/)
before_filter [BeforeFilter middleware](http://www.djangosnippets.org/snippets/1306/)
comments powered by Disqus