Example1:
import openai_image
openai_image.get_image()
Prompt target text: blue bird
Example2:
import openai_image
openai_image.get_image('Alice in Wonderland')
Example1:
import backupdir
# ARCHIVE LOCAL
SOURCE_DIR = 'D:\\Documents' # use current dir when SOURCE_DIR = ''
TARGET_DIR = 'E:\\Archive\\Documents'
backupdir.archive_local(SOURCE_DIR, TARGET_DIR)
Example2:
import backupdir
# ARCHIVE NETWORK
SOURCE_DIR = '\\\\192.168.100.1\\source'
TARGET_DIR = '\\\\192.168.100.2\\target'
backupdir.archive_local(SOURCE_DIR, TARGET_DIR)
Example:
import fnlength
target = fnlength.fnlength()
# default 25
target.MAX_FILENAME_LENGTH = 30
target.start()