O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
Answered by mhalverson : Feb 16 2012 11:43 AM
It is going to depend on what you want to do with it. I, myself, started with 3 as I don't really need much besides what is in the standard library. I haven't really tried to learn 2.
Many ... full answer >
This excerpt from Mining the Social Web applies k-means to the problem of clustering your professional contacts and plots them out in Google Earth. To create a nice visualization of this data you'...
I’d like to introduce one more idea that is often relevant when dealing with business plans and calculations on how to find the optimal price or, alternatively, the optimal inventory level for some ...
A way that simulations can be helpful concerns situations that appear unfamiliar or even paradoxical. Simulations allow us to see how the system behaves and thereby to develop intuition for it.
Supp...
Answered by DarkFlib : Jan 24 2011 04:46 PM
It really depends what you want to do - right tool for the right job and all that... However, PHP with the release of version 5.3 and shortly version 6 has addressed a lot of the shortcomings that hav... full answer >
Answered by paulbarry : Jan 04 2011 03:12 AM
You need to break down your code - bit by bit - to see what's going on, and your use of parens is changing the meaning of this code.
When Python see parens, it evaluates that code first, so:
(... full answer >