'{:,}'.format(value) # For Python ≥2.7 f'{value:,}' # For Python ≥3.6
amount = 500000 amount # 500000 print(f"{amount:,}") # 5,000,000
← BeautifulSoup으로 크롤링 해보기 파이썬에서 CSV 파일 저장하기 →