Quick question, creating log file
Asked by
denywinarto
Hi, i'm trying to create a log file with date time.
But it doesn't seem to work,
It won't create the txt file
here's the script:
import datetime
dir = "D:\\Games"
Filename = datetime.
log = file(dir + Filename, "w") #create the file
log.close() # close the file/handles to the file.
Any idea which part is not correct?
thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.