I am going to recommend a book for you, A Natural History of Amphibians, by Stebbins and Cohen. The price has come down recently and it is under $20. This provides scientific but easy to read information about amphibians.
I was planning on ignoring the intelligence question, but Ben got me thinking. I'm going to venture and say that tree frogs are probably more intelligent than a python. For one, snakes are known for being incredibly instinctive, relying on the most basic behaviors for survival and not beeing good at adapting them. Tree frogs on the other hand, have to deal with a lot in their environment that snakes do not. For one thing there is jumping. The tree frogs must have very good binocular vision in order to judge distance and depth. They must be able to coordinate a jump to land it successfully, but also be able to factor in the variability of a moving prey that can defend itself.
Frogs in general also display very complex social behaviors, especially when it comes to calling males. Females are able to figure out from a males call their relative age, size, health, and distance. Males on the other hand are capable of making their calls more complex when competition is high. In fact there is one tropical species that is capable of inserting his call into a space of other males calls even when it is only one one-thousanth of a second long and is completely random! You have to admit that takes quite a bit of brain work to be able to react that fast!! Many frogs are territorial and get into combat as well further increasing the social complexity.
I had difficult funding parallels with snakes, especially dumb ones like pythons!
-----
*Humans aren't the only species on earth... we just act like it.
".the oldest task in human history: to live on a piece of land without
spoiling it."
Aldo Leopold (1938)