Might want to give this a good read: http://docs.python.org/2.7/library/functions.html#open
open('deck.txt', 'w') # will overwrite it
And then do something like this...
import random
f = open('deck.txt', 'w') # op
l = [i for i in range(1,111)] # list from 1 to 110
random.shuffle(l) # shuffle that list
for i in l:
f.write(str(i))
f.write('\n')
EDIT: Sorry, did not use your functions. You could modify this though.