Kyoto and Osaka hotel

Hey all, i’m going to Kyoto and Osaka next month. I’ll be there for a week, I was wondering if you guys recommend I book a hotel in Kyoto (or Osaka) for the whole week and just take the metro/train to the other city or should I book a hotel in Kyoto for 3/4 days and then a hotel in Osaka for the remaining days?

by ChefBoyardee2002