걸어서개발한바퀴

  • 홈
  • 태그
  • 방명록

count 1

bash script 이용하여 python 돌리면서 count 하기

#!/bin/bash myvar=0 while : do python3 script.py myvar=$((myvar+1)) echo "count : $myvar" sleep 1 done 위와 같이 짰습니다. 주의할 점은, 읽을 때 변수에서 $를 붙이는 점, 그리고 arithmetic calculation을 하는 syntax가 따로 있다는 점이었습니다. 관련 ref : https://stackoverflow.com/questions/6348902/how-can-i-add-numbers-in-a-bash-script

Linux 2022.05.10
1
더보기

방문자수Total

  • Today :
  • Yesterday :
프로필사진

개발여행 가 봅시다~

  • 분류 전체보기 (194)
    • Audio Processing (2)
    • 알고리즘 (7)
      • 리트코드 (5)
    • Data Engineering (3)
    • Linux (16)
      • Ubuntu (13)
    • Utils (15)
      • Program (4)
      • Git (6)
    • Machine Learning (30)
      • Device (7)
      • Tensorflow (5)
      • Regression (1)
    • Python (10)
      • Concurrency (4)
      • Basics (3)
    • 환경설정 (12)
    • kaggle 및 dacon (2)
    • Web Programming (18)
      • Server (5)
      • Java Spring (11)
    • Cloud (2)
      • Docker (7)
    • Network (2)
      • protocols (1)
    • Video Processing (5)
      • Gstreamer (2)
    • Image Processing (11)
      • Cv2 (8)
    • Deep Learning (30)
      • NLP (10)
      • Computer Vision (11)
    • 잡담 (2)
    • 모바일 (1)
      • 안드로이드 (10)
      • flutter (2)
    • openai (5)
    • Data Science (2)

Tag

mac, OpenCV, TFlite, jetson, 도커, cv2, Android, Git, Linux, spring boot, tx2, tensorflow, yolov5, CNN, yolo, image classification, Python, GCP, docker, ubuntu,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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

Copyright © Kakao Corp. All rights reserved.

티스토리툴바