Feb-20-2021, 11:59 PM
while reading documentation for os.stat() and os.lstat() i don't see what exceptions it might raise or what errors could cause a return of None or something other than a stat_result object. the documentation just says they return a stat_result object. it can't if the file does not exist, so the documentation is clearly incomplete. where can i find documentation of all possible results of these functions?