carbatpy.helpers.file_copy ========================== .. py:module:: carbatpy.helpers.file_copy .. autoapi-nested-parse:: 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 ---------- .. autoapisummary:: carbatpy.helpers.file_copy.END_NAME Functions --------- .. autoapisummary:: carbatpy.helpers.file_copy.copy_script_add_date Module Contents --------------- .. py:function:: copy_script_add_date(file_name_end, source_file, directory) 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 :param file_name_end: the file name to be added to the date, also for the directory name. :type file_name_end: string :param source_file: The source file to copy (from __file__). :type source_file: string :param directory: The directory to copy to. :type directory: string :returns: **directory** -- The new directory name and the file name(s) without extension. :rtype: String .. py:data:: END_NAME :value: 'test'