xxt 10 ay önce
ebeveyn
işleme
52ae422802
4 değiştirilmiş dosya ile 0 ekleme ve 36 silme
  1. 0 0
      array/isPalindrome.py
  2. 0 0
      array/isPalindrome2.py
  3. 0 0
      array/twoSum.py
  4. 0 36
      main.py

+ 0 - 0
isPalindrome.py → array/isPalindrome.py


+ 0 - 0
isPalindrome2.py → array/isPalindrome2.py


+ 0 - 0
twoSum.py → array/twoSum.py


+ 0 - 36
main.py

@@ -1,36 +0,0 @@
-# from fastapi import FastAPI
-from minio import Minio
-from minio.error import S3Error
-
-client = Minio('localhost:9000',
-               access_key='nngIIjuqvRa4aZ1jRb3n',
-               secret_key='IO8KYbgesqHxMvDDwCu6I9fBEpTVaKXxGV27itBK',
-               secure=False
-               )
-print("====-=-=-=-=")
-def main():
-    if client.bucket_exists("test"):
-        print("my-bucket exists")
-    else:
-        print("my-bucket does not exist")
-    print("2====-=-=-=-=")
-    res = client.fput_object("test","1.jpg","/Users/xuxiaotong/PycharmProjects/pythonProject/2.jpg")
-    print( res.bucket_name )
-    client.remove_object(
-        "test", "2.jpg",
-        # version_id="dfbd25b3-abec-4184-a4e8-5a35a5c1174d",
-    )
-
-if __name__ == "__main__":
-
-   # try:
-    main()
-    # except S3Error as exc:
-    #     print("error occurred.", exc)
-
-# app = FastAPI()
-#
-#
-# @app.get("/")
-# async def root():
-#     return {"message": "Hello World"}