storage_client = storage.Client() data_bucket = storage_client.bucket(BUCKET_NAME) destination_blob_name = 'abstract/kpi_cluster.tsv' source_file_name = 'kpi_cluster.tsv' blob = data_bucket.blob(destination_blob_name) blob.upload_from_filename(source_file_name) print('File {} uploaded to {}.'.format( source_file_name, destination_blob_name))
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter