This is a great list of ebook, links and material for a budding or even experienced developer. The URL is not politically correct, so be careful of using it at work if you work someplace sensitive.
At the very least Learn Python The Hard Way is one of the better places to start for Python.
Those are great links and books to get going on. Not to mention other excellent online resources like Code Academy to get going.
I also realize this might not be the exact answer for your question based on description, but I thought it might be helpful. Getting into something like language design for both of those languages is distinctly different. If that was what you were asking for.
Nothing beats just doing it though. Give it a shot to learn one and then go to Project Euler to try and solve a few problems with your language of choice. It is a great way to practice.