[python-win32] some shellcon constants have not been implemented yet ?

iMath 2281570025 at qq.com
Sun Jan 8 00:41:58 EST 2017


some shellcon constants have not been implemented yet ?


>>> from win32com.shell import shell, shellcon
>>> shellcon.WPSTYLE_STRETCH
2
>>> shellcon.WPSTYLE_KEEPASPECT
Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
    shellcon.WPSTYLE_KEEPASPECT
AttributeError: module 'win32com.shell.shellcon' has no attribute 'WPSTYLE_KEEPASPECT'
>>> shellcon.WPSTYLE_CENTER
0
>>> shellcon.WPSTYLE_TILE
1
>>> shellcon.WPSTYLE_MAX
3
>>> shellcon.WPSTYLE_CROPTOFIT
Traceback (most recent call last):
  File "<pyshell#8>", line 1, in <module>
    shellcon.WPSTYLE_CROPTOFIT
AttributeError: module 'win32com.shell.shellcon' has no attribute 'WPSTYLE_CROPTOFIT'
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20170108/86723009/attachment.html>


More information about the python-win32 mailing list