- WeldxFile.copy(filename_or_file_like=None, overwrite=False)#
Take a copy of this file.
Depending on the underlying file type this does several different things.
bool) – If
filename_or_file_likepoints to a path or filename which already exists, this flag determines if it would be overwritten or not.
The new instance with the copied content.
- Return type