File not opening in program
Asked by
Tyler
I am trying to open a file from a directory, edit the file, then move on to the next file. I can open the program, but the file never opens up in it. Here is my code thus far:
openApp(
import os
dir = "C:\\Users\
for e in os.listdir(dir): # this starts the loop
fileName = os.path.join(dir, e)
print fileName
f = open(fileName)
# edits of the file
f.close
Any tips to get the file to open?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Tyler for more information if necessary.
To post a message you must log in.