"Python 딕셔너리 리스트"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
 
(다른 사용자 한 명의 중간 판 2개는 보이지 않습니다)
3번째 줄: 3번째 줄:
;Python 딕셔너리 리스트
;Python 딕셔너리 리스트


<source lang='python' run>
<syntaxhighlight lang='python' run>
orders = [
orders = [
   {'id': 1, 'name': 'Ashley', 'date': '2020-05-20'},
   {'id': 1, 'name': 'Ashley', 'date': '2020-05-20'},
13번째 줄: 13번째 줄:
from pprint import pprint
from pprint import pprint
pprint( orders )
pprint( orders )
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
19번째 줄: 19번째 줄:
* [[Python 딕셔너리]]
* [[Python 딕셔너리]]
* [[Python 딕셔너리 리스트 정렬]]
* [[Python 딕셔너리 리스트 정렬]]
* [[Python 딕셔너리 리스트 컬럼 join]]
* [[파이썬 pprint()]]
* [[딕셔너리 리스트]]
* [[딕셔너리 리스트]]


[[분류:Python 딕셔너리 리스트]]
[[분류:Python 딕셔너리 리스트]]

2022년 5월 18일 (수) 16:30 기준 최신판

1 개요[ | ]

파이썬 Dictonary List
Python 딕셔너리 리스트
orders = [
  {'id': 1, 'name': 'Ashley', 'date': '2020-05-20'},
  {'id': 2, 'name': 'Peter' , 'date': '2020-05-20'},
  {'id': 3, 'name': 'Ashley', 'date': '2020-05-05'},
  {'id': 4, 'name': 'John'  , 'date': '2020-05-05'},
  {'id': 5, 'name': 'Peter' , 'date': '2020-05-05'},
]
from pprint import pprint
pprint( orders )

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}