A lot depends on the species, but you should probably soak it in lukewarm water for about 20 minutes to try and rehydrate it.
Pythons of any species are carnivores and do not need baby food.
The previous suggestion of a prekilled mouse is also good.
Find out what species of python you have, and then give it as close to perfect conditions for that species as you can. From there it's just leaving it alone to minimize stress, providing fresh water, and feeding it regularly.
What does it look like?
~jenny
-----
1.2 normal ball pythons (Cindy, Darwin, and Periscope)
0.2 rescue chinese water dragons (Yoni and Linga)
0.0.1 Mountain Horned Lizard
1.0 rex rat (Scurvy)
1.0 gerbil (Yerbul)
0.1 mice (Cute Girl Mousy)
0.1 bunny (Spazz)
1.1 betta fishes (Vicious and Killer)
2.2 great danes (Shasta, Odysseus, Merlot, and Watson)
1.0 fat fuzzy mutt (Smokey)
1.1 cats (Thidwick and Turtle)
3.0 horses (Buddy, Sam, and Scout)
1.0 goat (Billy Jack)
1.25 chickens (Ugly the rooster and his harem)
jenny.thegreenes.org