Hi All,
I am using the below code to write into a text file
# Write into log file
inp=file(Doc\Log.txt, 'w')
inp.write('Log file start')
inp.close()
The text file 'Log.txt' is present in 'Doc' folder inside the application folder.
Now I want to create a text file with a time stamp every time the User runs the application and then write contents into it. How do I do this?
Any help is much appreciated!...
Regards,
Dinil