[英]How to serve an image from google cloud storage using python flask
[英]How to add subdirectory in google cloud storage using flask in python 2
我正在使用cloudstorage模塊將文件上傳到Google雲存儲,因為我正在使用python2.x。 我需要在存儲桶中創建一個子目錄,並列出網頁中的所有內容。
您沒有在Google Cloud Storage(GCS)中創建目錄。
GCS是一個平面命名空間。
GCS存儲桶包含對象,並且對象名稱可能包含“ /”。
有關更多詳細信息,請參見此處 。
gsutil
和控制台瀏覽器使它看起來好像存儲桶中包含目錄。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.