32bit : 2**31 - 1
import sys
print(2**31 - 1)
-------------------
2147483647
64bit : 2**63 - 1
import sys
print(sys.maxsize)
print(2**63 - 1)
--------------------
9223372036854775807
9223372036854775807
'Python > Python Programming' 카테고리의 다른 글
[Python] BeautifulSoup의 find와 findAll의 차이 (0) | 2020.01.15 |
---|---|
[Python] 파이썬을 이용하여 텔레그램(Telegram) 메세지 보내기 (0) | 2020.01.09 |
[ Python ] Convert datetime from Unix Time Stamp. (Unix Time Stamp를 일반 datetime 형식으로 변환) (0) | 2019.12.13 |
[Python] Monodb Connection Using pymongo. (파이썬을 이용한 몽고DB 이용) (0) | 2019.11.06 |
[Python] reduce 함수 (0) | 2019.10.24 |
[Python] dateutil 모듈을 이용한 전년,전월,전일,D-day 날짜 구하기 (0) | 2019.10.21 |
[Python] Find all index values of a specific element using enumerate. (enumerate를 활용한 특정요소의 리스트 index 값 모두 찾기) (0) | 2019.10.20 |
[Python] Windows OS Disk Usage Check. (윈도우 운영체제 디스크 사용량 체크) (0) | 2019.10.18 |