There are two ways to buy French train tickets at the station: from a ticket window and at the vending machine.