Not all those who wander are lost, but I certainly am!
If you are a not a resident of the European Union, and you want to travel by train while you are in Europe, buy a Eurail pass. I’m not being paid to say this, Eurail doesn’t even know I’ve written this article. This is just solid advice from one traveler to another.