Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if os.path.isfile(A):
- path = A
- else:
- path = input("File not found. Please enter correct file path: ")
- do_something(path)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement