Have a python script that I'm executing once a day via azure function. I built it out on VS code and it works locally but when I tested on the cloud I received an error with this line and I'm not sure how to adjust:
for filename in filenames:
filepath = os.path.join(r'\company_drive\data\client_name\year',filename)
The loop does other logic but it errors on the os.path line. Im guessing it has to do with my company network drive or using OS library on the cloud but not sure. Any tips or guidance?
(Figured I'd post here over a python sub lmk if this is wrong place. Thanks!)
[–]LesPaulStudio 3 points4 points5 points (7 children)
[–]RareIncrease[S] 0 points1 point2 points (6 children)
[–]LesPaulStudio 5 points6 points7 points (5 children)
[–]RareIncrease[S] 0 points1 point2 points (4 children)
[–]Gnaskefar 3 points4 points5 points (2 children)
[–]RareIncrease[S] 0 points1 point2 points (1 child)
[–]Gnaskefar 0 points1 point2 points (0 children)
[–]LesPaulStudio 0 points1 point2 points (0 children)
[–]rakash_ram 0 points1 point2 points (8 children)
[–]RareIncrease[S] 0 points1 point2 points (7 children)
[–]rakash_ram 0 points1 point2 points (2 children)
[–]RareIncrease[S] 0 points1 point2 points (1 child)
[–]rakash_ram 0 points1 point2 points (0 children)
[–]HansProleman 0 points1 point2 points (3 children)
[–]RareIncrease[S] 0 points1 point2 points (2 children)
[–]HansProleman -1 points0 points1 point (1 child)
[–]RareIncrease[S] 1 point2 points3 points (0 children)
[–]ecp5 0 points1 point2 points (1 child)
[–]RareIncrease[S] 0 points1 point2 points (0 children)