Saints, who were quarter-finalists last season, face the Scottish Championship side after they beat Kilmarnock in this week's second round.
The game will be played on September 24 or 25.
See every Formula One car of the new season
The dream World Cup kits that have become a sensation
World Cup fever hits the 2014 Rio Festival
UFC Fight Night London Fight Card
Ouchee! Nasty blows, crazy masks and joyous celebrations: Photos of the Week
'It's only money!' 8 sports stars who flash the cash
How Man City can beat Barcelona
Euro Papers: Podolski: 'We can beat Bayern'
Family fled home because of this banana
Abandoned village for sale, price £0
Pardew learns his fate for headbutting player
Bayern v Arsenal – Champions League live!
Passengers' phones are still ringing, claim relatives