I'm looking for the fastest method of saving and coping a big file (8.5 MB 53.000 lines).
I use this procedure, that makes a backup copy before and then saves the list into a file. An that take 2 minutes. How could this be done faster? To copy this file with phone buildin explorer takes not so much time.
wlan_name_backup = wlan_name[:-3]+"bak"
file = open(wlan_name,'w')