Prague to Rome is about 17 hours on the train via Munich. You can also go south to Linz and then west to Salzburg and then south into Italy. Either way, it is long. You might consider flying. Use this site for rail schedlues:
http://www.bahn.de/international/view/en/index.shtml