1 - Difference to Ruby¶ ↑
-
www.upguard.com/articles/python-vs-ruby
“It’s clear that each has some areas it is better suited to, because of its features and support from other users in the same area. For Ruby this is web development via the Rails framework, and for Python it is scientific and academic programming.”
“Ruby focusses on giving developers the freedom to do whatever they want and staying out of their way. Python insists on ease of learning and use by zeroing on only on the one right way to do something.”
“For instance the Rails framework is constantly changing, and in fact many of the changes and new features in Python are first tested in Ruby.”
2 - Debugger¶ ↑
import pdb pdb.set_trace()
3 - Builtin functions¶ ↑
-
len(list_name)
4 - docstrings¶ ↑
epydoc.sourceforge.net/manual-docstring.html
print np.in1d.__doc__