Gizmo wrote:
> Hello
> I am learning Python via the excellent Dive Into Python book. I have
> little question
>
> 1)
> >>> import os
> >>> type(os.environ)
>
>
> Why is this considered "instance" ? Should'nt it be "dict" type?
> I have a feeling I am missing something deeper here.
'instance'
Hello
I am learning Python via the excellent Dive Into Python book. I have little
question
1)
import os
type(os.environ)
Why is this considered "instance" ? Should'nt it be "dict" type?
I have a feeling I am missing something deeper here.
2) What would happen if I did this
os.environ = {}