본문 바로가기 메뉴 바로가기

보배로움

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

보배로움

검색하기 폼
  • All Story (146)
    • Today (5)
    • Development (26)
      • Overall (4)
      • Algorithm (12)
      • Android (1)
      • Java, Kotlin, Frameworks (37)
      • Python (6)
      • Server (14)
      • Docker & Kubernetes (K8s) (23)
      • ETC (9)
    • Book (9)
  • 방명록

Development/ETC (9)
ubertooth code 수정 - 1

자료: https://github.com/KimDoubleB/ubertooth KimDoubleB/ubertooth Software, firmware and hardware designs for Ubertooth - KimDoubleB/ubertooth github.com python에서 shell에서 바로 parameter를 입력 받을 때, boolean으로 입력받고 싶다. 근데 boolean이 그냥 모든 값에 대해 0이 아니면? 다 true가 뜨는 듯. 그래서 아래같은 함수를 타입으로 이용해서, 정해진 값만 true, false, 그게 아니면 오류를 보내주게 된다. def str_to_bool(value): if isinstance(value, bool): return value if value.lo..

Development/ETC 2019. 9. 27. 11:47
이전 1 2 다음
이전 다음
반응형
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • HTTP
  • OpenTelemetry
  • 로그
  • Log
  • 클린 아키텍처
  • WebFlux
  • Algorithm
  • Kubernetes
  • Spring boot
  • c++
  • 알고리즘
  • MySQL
  • 백준
  • 하루
  • python
  • Istio
  • Clean Architecture
  • java
  • 일상
  • jasync
  • boj
  • k8s
  • Intellij
  • tag
  • container
  • gradle
  • 비동기
  • Spring
  • 쿠버네티스
  • docker
more
«   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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바