Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
python convert object into ditct
naruto
Programming language:
Python
2021-06-29 20:17:30
0
Q:
python convert object into ditct
Armen Tsirunyan
Code:
Python
2021-07-13 16:16:07
class A(): def __init__(self): self.a = 1 self.b = 2 a = A() aDict = vars(a)
3
Tags
object
python
int
con
into
Related
write dict to json python
python string to dict
python dict into json string
python save a dictionary as an object
convert dict to json python
python dict to json
python convert b string to dict
string representation of object python
convert string representation of dict to dict python
convert keys to values in python
python dict keys to string
object value python
convert dict to string python
convert str to dict python
change string to dict python
python json to dict
python convert string to list of dictionaries
python json string to object
New to Communities?
Join the community