carbatpy.helpers.file_copy¶
Helpers for file handling, e.g. copy the actual py-File after adding the actual date-time and copy it to a directory
Created on Thu Feb 1 16:18:03 2024
@author: atakan
Attributes¶
Functions¶
|
File handling, copy the actual py-File after |
Module Contents¶
- carbatpy.helpers.file_copy.copy_script_add_date(file_name_end, source_file, directory)[source]¶
File handling, copy the actual py-File after adding the actual date-time and copy it to a directory which is also named date-time - file_name_end return the date-time for further usage
- Parameters:
file_name_end (string) – the file name to be added to the date, also for the directory name.
source_file (string) – The source file to copy (from __file__).
directory (string) – The directory to copy to.
- Returns:
directory – The new directory name and the file name(s) without extension.
- Return type:
String