본문 바로가기

데이터와 코드로 세상을 바라봅니다.

검색하기
데이터와 코드로 세상을 바라봅니다.
프로필사진 코드우드

  • Data & Code (35)
    • Data (0)
      • Statics & Math (0)
      • Deep Learning Algorithm (0)
      • Machine Learning Algorithm (0)
    • Code (34)
      • Python (30)
      • Java (0)
      • Mac OS (3)
      • Linux (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Tags
  • 알고리즘 풀이
  • Algorithm
  • 피보나치 수
  • List to String
  • zip()
  • RecursionError
  • COUNT
  • Python 몫
  • list.pop(0)
  • Boto3
  • Modified Date
  • list to set
  • string
  • Python
  • 프로그래머스
  • Python 나머지
  • sort()
  • permutations
  • List 초기화
  • list.sorted()
  • sting position
  • index
  • homebrew-core is a shallow clone.
  • Split
  • set to list
  • cask
  • 알고리즘
  • Unknown command: cask
  • python3
  • List
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Modified Date (1)

데이터와 코드로 세상을 바라봅니다.

[AWS] S3 / Lambda / Python / File Name Check / Modified Date : 특정 일자, 파일 명칭 정상 여부 체크 로직

import json import boto3 from datetime import datetime, timedelta src_bucket = '{버킷 명}' file_upload_date = str(datetime(2020, 12, 14).strftime("%Y%m%d")) def check_data_form_yyyymm(yyyymm) : result = False if len(yyyymm) == 6 and yyyymm.isdigit(): result = True return result def get_s3_file_name_list(file_upload_date) : s3 = boto3.client('s3', region_name='ap-southeast-2') response = s3.list_obj..

Code/Python 2021. 1. 5. 14:16
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바