what does type(subprocess.Popen)==<class 'type'> mean?

oyster lepto.python at gmail.com
Sat Oct 29 10:55:58 EDT 2016


why does not type(subprocess.Popen)==<class 'module'>? Thanks

[quote]
Python 3.4.4 |Anaconda 2.3.0 (64-bit)| (default, Feb 16 2016, 09:54:04) [MSC v.1
600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> type(subprocess.Popen)
<class 'type'>
>>> import os
>>> type(os.path)
<class 'module'>
[/quote]



More information about the Python-list mailing list