How to get the size of the file in the box using python

回答済み
新規投稿

コメント

2件のコメント

  • mwiller

     The following will give you the size of the file, in bytes:

     

    file_size = client.file(file_id).get().size
    0
    コメントアクション パーマリンク
  • dkadia

    Thanks for the response. It seems the code is working same as

     

        len(client.file(file_id='file id').content())

     

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。