Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122616198
dotdict.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jul 21, 00:26
Size
545 B
Mime Type
text/x-python
Expires
Wed, Jul 23, 00:26 (2 d)
Engine
blob
Format
Raw Data
Handle
27526498
Attached To
R2010 molecular_data_processing
dotdict.py
View Options
#!/usr/bin/env python
# -*- coding: utf-8 -*-
" module containing class dotdict "
##########################################################################
##########################################################################
class
Dotdict
(
dict
):
"""
dot.notation access to dictionary attributes, found on internet :
http://stackoverflow.com/questions/2352181/how-to-use-a-dot-to-access-members-of-dictionary
"""
__getattr__
=
dict
.
get
__setattr__
=
dict
.
__setitem__
__delattr__
=
dict
.
__delitem__
Event Timeline
Log In to Comment