Sobes.tech
Junior — Middle

Have you had tasks related to black box testing or creating custom scripts for automation?

sobes.tech AI

Answer from AI

Yes, I have had tasks where I worked with a "black box" — using third-party tools or libraries without access to their source code, relying only on their API and documentation. I also created custom Python scripts for automating routine tasks, such as data processing, automated testing, or deployment.

Example of a simple automation script:

import shutil
import os

def backup_files(src_dir, backup_dir):
    if not os.path.exists(backup_dir):
        os.makedirs(backup_dir)
    for filename in os.listdir(src_dir):
        full_file_name = os.path.join(src_dir, filename)
        if os.path.isfile(full_file_name):
            shutil.copy(full_file_name, backup_dir)

backup_files('/path/to/source', '/path/to/backup')

This approach allows quick and repeatable deployment of applications without manual actions.