Converting an satellite image to TMS is relatively easy, especially if you are using powerful GDAL library. GDAL has binding in Python which I will be using in this post.
- Install the OSGeo4W for windows. For linux, you can use OSGeoLive which has everything that OSGeo4W has. For more information on linux equivalent to OSGeo4W,