By train

SNCF Gourdon railway station is on the Paris-Toulouse line. There are also stops at Souillac and Cahors.