with open('C:\\Users\\13935\\Desktop\\ilovedancing.txt','w') as f: f.write('what are you doing') 18 >>>