티스토리 뷰
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
-. 주소를 복사
>>> a = [1,2,3]
>>> b = a
>>> id(a),id(b),id(a) == id(b)
(35883848, 35883848, True)
-. 값을 복사
>>> a = [1,2,3]
>>> b = a[:]
>>> id(a),id(b),id(a) == id(b)
(36516368, 36517128, False)
'Python' 카테고리의 다른 글
Python, 함수_인수 전달 (0) | 2016.04.21 |
---|---|
Python, 함수 (0) | 2016.04.21 |
Python, 부울 (0) | 2016.04.21 |
Python, 사전(Dictionary) (0) | 2016.04.21 |
Python, list(), set(), tuple()의 형변환, in (0) | 2016.04.19 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- IdClass
- 상수
- highlightthickness
- Python
- onetomany
- Excel
- tkinter command & bind [명령어묶기와 사건묶기] Python
- fetch join
- ManyToOne
- Java
- tkinter
- command
- 폼
- highlightbackground
- Private
- apache
- activeforeground
- Module
- 파이썬
- indicatoron
- borderwidth
- FetchType
- JPA
- 리눅스
- vba
- Composite Key
- checkbutton
- activebackground
- disabledforeground
- Linux
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함