vars()

Published by onesixx on

python의 vars()

https://www.youtube.com/watch?v=_kZAF0x7KPk

Object의 attributes에 쉽게 접근하기

vars(obj)
obj.__dict__

global variable 가져오기

'sixx' in vars()
Categories: Python Basic

onesixx

Blog Owner

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x