Folks,
I want to know how to check whether a file exists for not??
One more thing: If we open an existing file in a write mode, then it gets truncated to zero length, so what the way out of this??
Should I use open('filename','w+')
Regards,
Asrar