-
Notifications
You must be signed in to change notification settings - Fork 667
Closed
Labels
Description
Dynamo version
2.3.0.5885
Operating system.
Windows 10
What did you do?
File System.CopyFile will output null regardless if it works or fails.
What did you expect to see?
It would be nice if it exported true for files that were successfully copied and false for files that were not copied.
import shutil
original = IN[0]
target = IN[1]
List = []
for o, t in zip(original,target):
try:
shutil.copyfile(o, t)
List.append(True)
except:
List.append(False)
OUT = List
What did you see instead?
null
Reactions are currently unavailable

