Skip to Content
전문가를 위한 파이썬(2판)
book

전문가를 위한 파이썬(2판)

by 루시아누 하말류, 강권학
November 2024
Beginner to intermediate
1064 pages
25h 21m
Korean
Hanbit Media, Inc.
Content preview from 전문가를 위한 파이썬(2판)
937
22
동적 속성과 프로퍼티
22
.
3
계산된 프로퍼티
11
.
7
절 ‘해시 가능한
Vector2d
’에서
@property
데커레이터를 처음 보았다. [예제
11
-
7
]에서
는 단순히
x
y
속성을 읽기 전용으로 만들려고
Vector2d
안에 프로퍼티 두 개를 사용했다.
여기에서는 값을 계산하는 프로퍼티를 보여 주고, 그 값을 캐시하는 방법을 설명한다.
OSCON
JSON
데이터셋의
‘events’
리스트에 있는 레코드들에는
‘speakers’
‘venues’
리스트의 레코드를 가리키는 정수 일련번호가 있다. 예를 들어 콘퍼런스 발표에 대한 레코드는
다음과 같다 (
‘description’
내용은 줄임표로 축약했다 ).
{ “serial”: 33950,
“name”: “There *Will* Be Bugs”,
“event_type”: “40-minute conference session”,
“time_start”: “2014-07-23 14:30:00”,
“time_stop”: “2014-07-23 15:10:00”,
“venue_serial”: 1449,
“description”: “If you’re pushing the envelope of programming...”,
“website_url”: “http://oscon.com/oscon2014/public/schedule/detail/33950”, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

전문가를 위한 리액트

전문가를 위한 리액트

테자스 쿠마르
고성능 파이썬(2판)

고성능 파이썬(2판)

오현석, 미샤 고렐릭, 이안 오스발트

Publisher Resources

ISBN: 9791169211772