In Python3, that is a 2 liner:
some_string = 'this will be the new first line of the file\n'
with open(fr'c:/users/{os.getlogin()}/Desktop/default.txt', 'r') as old: data = old.read()
with open(fr'c:/users/{os.getlogin()}/Desktop/default.txt', 'w') as new: new.write(some_string + data)
To answer the original question for any poor lads stumbling upon this thread, here is how you delete the first line of a file using python array (yes, I know it is technically called list...) slicing:
filename = fr'c:/users/{os.getlogin()}/Desktop/default.txt'
# split file after every newline to get an array of strings
with open(filename, 'r') as old: data = old.read().splitlines(True)
# slice the array and save it back to our file
with open(filename, 'w') as new: new.writelines(data[1:])
More info on list slicing: https://python-reference.readthedocs.io/en/latest/docs/brackets/slicing.html
Extended list slicing: https://docs.python.org/2.3/whatsnew/section-slices.html