> Rather than handing out ready-made functions to make Python behave like PHP, this site actually teaches you how to write Python like a real Pythonista.
Not in my opinion. Here is my personal experience of using this
site when I was just starting with Python. I had landed up there
looking for a function similar to PHP's `array_fill_keys`.
And it showed me `dict.fromkeys(keys, value)`[1] without
a slightest of warning that unexpected things will happen if its
passed a mutable data structure such as an empty list as the
value.
So IMO, for people coming from PHP background writing some of
their first Python code, it can be helpful at times but not an
alternative to learning Python from a book or some serious online
resource. Moreover, the site itself says that it won't teach you
either PHP or Python.[2]
[1]: http://www.php2python.com/wiki/function.array-fill-keys/
[2]: http://www.php2python.com/about/