can we check if a folder path is valid in jupyter notebook code example
Example: python check if folder exists
import os
print(os.path.isdir("/home/el"))
print(os.path.exists("/home/el/myfile.txt"))
import os
print(os.path.isdir("/home/el"))
print(os.path.exists("/home/el/myfile.txt"))