You can generally upload files with the upload() and upload_files() methods.

Example
# Log file

# Save multiple files under a path

1. When using pattern expansion, such as **/*.py, make sure that your expression does not capture files you don't intend to upload. For example, using * as a pattern will upload all files and directories from the current working directory (cwd).