Aug-28-2018, 07:24 PM
from os import path
path.exists("foo.txt")
Above code works fine. But lets say I want to import all modules in OS by
from os import *
how can i use path.exists here to verify file exists?
path.exists("foo.txt")
Above code works fine. But lets say I want to import all modules in OS by
from os import *
how can i use path.exists here to verify file exists?