Downloads of v 218.0:


Last Update:

04 Nov 2012

Package Maintainer(s):

Software Author(s):

  • Mark Hammond


Python Windows extensions

Python for Windows Extensions

This is not the latest version of Python for Windows Extensions available.

  • 1
  • 2
  • 3

218.0 | Updated: 04 Nov 2012



Downloads of v 218.0:



Software Author(s):

  • Mark Hammond

  • 1
  • 2
  • 3
Python for Windows Extensions 218.0

This is not the latest version of Python for Windows Extensions available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Unknown

Verification Testing Unknown

Scan Testing Successful:

No detections found in any package files


To install Python for Windows Extensions, run the following command from the command line or from PowerShell:


To upgrade Python for Windows Extensions, run the following command from the command line or from PowerShell:


To uninstall Python for Windows Extensions, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade pywin32 -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade pywin32 -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure pywin32 installed
    name: pywin32
    state: present
    version: 218.0
    source: STEP 3 URL

See docs at

chocolatey_package 'pywin32' do
  action    :install
  version  '218.0'
  source   'STEP 3 URL'

See docs at

    Name: pywin32,
    Version: 218.0,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller pywin32
   Name     = 'pywin32'
   Ensure   = 'Present'
   Version  = '218.0'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'pywin32':
  provider => 'chocolatey',
  ensure   => '218.0',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install pywin32 version="218.0" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was submitted prior to moderation and has not been approved. While it is likely safe for you, there is more risk involved.


Additional documentation can be found at ActiveState

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Python for Windows Extensions 218.0 1539 Sunday, November 4, 2012 Unknown

Since build 218:

    Add interfaces IFileOperation and IFileOperationProgressSink

  • win32com.propsys
    Add interfaces IPropertyChange, IPropertyChangeArray, and IObjectWithPropertyKey
    Add functions PSCreateSimplePropertyChange, PSCreatePropertyChangeArray, and SHSetDefaultProperties

Since build 217:

  • GetPropTagName has been modified to return the fully qualified
    PT_UNICODE and PT_STRING8 type name. Added optional argument to override
    rawType default in GetMapiTypeName. (Nick Czeczulin)

  • Fix the count of replaced terms in Pythonwin's search/replace (rupole).

  • Fix obscure issues in the Pythonwin code browser and other uses of the
    "hierlist" widget (rupole).

  • Fix a crash using a COM "record" that holds an array (rupole).

  • Fix error return in win32gui.GetClassName (rupole).

  • Some misc fixed to win32timezone (Jason R. Coombs).

  • Some fixes to win32com gencache for Python 3.x (Tim Golden)

  • Fix ActiveScript exception hresults.

  • RegQueryValueEx now return an empty list for blank REG_MULTI_SZ
    (rupole via bug #3531456)

  • Add win32pdh.AddEnglishCounter (rupole via feature request #3529527)

  • Fix post_install script use of the registry (rupole via bug #3536122)

  • Python 3.3 version is built with VS2010.

  • - added function SHCreateStreamOnFileEx and
    interfaces IShellItem2, IEnumShellItems, IApplicationDocumentLists,
    IApplicationDestinations, ITaskbarList, IEnumObjects,
    IKnownFolder, IKnownFolderManager, IObjectArray, IObjectCollection,
    ICustomDestinationList, and IShellLibrary; enhance SHAddToRecentDocs.

  • win32com.propsys - Many Property System interfaces and functions added

  • pythoncom - added StgCreateStorageEx

  • win32com.client -
    Fix iteration of objects that don't declare an enumerator in their typelib
    Validate syntax of constants written to makepy generated files

  • win32file - Add GetFileInformationByHandleEx, ReOpenFile and OpenFileById,
    SetFileInformationByHandle. SetFileTime() has an extra param to allow UTC
    time to be specified.

  • win32api - Allow UpdateResource to remove a resource

Since build 216:

  • ISAPI extension works with Python 3.x

  • Python service module will now have their directory added to the start
    of sys.path rather than the end to avoid cryptic error messages if a
    module of the same name is already on the path (rvolpe via #3194663)

  • Various Pythonwin autocomplete enhancements (kxroberto via #3468282 and
    Oliver Tengler via #3433953)

  • The Pythonwin editor now remembers previous searches made in this session.
    (patch #3468280 from kxroberto).

  • The LOGFONT struct implementation (win32util) was extended to support the
    full LOGFONT struct as published by Microsoft. This includes changes to
    win32util.LogFontToDict and win32util.DictToLogFont. (Feature request
    3433757 by Kris Hardy)

  • Remove some duplicated menu code from pythonwin which should avoid
    having py2exe pulling in most of the pythonwin framework in some cases
    (patch 3433527 from kxroberto.)

  • A new win32com.client.VARIANT object can be used for advanced control over
    the parameter types passed to some COM methods. See the documentation in
    win32com/HTML/variant.html (also included in the help file)

  • The win32com.adsi and win32com.mapi packages have been upgraded to work on
    Python 3.x and as a result, there is a slight risk that regressions to
    these packages have been introduced in the Python 2.x versions. Please
    file a bug if any problems are found.

  • Pythonwin now warns, but allows you to continue, when saving a file with
    an invalid encoding line (bug 3139486)

  • Fix win32com.client.WithEvents on py3k (bug 3199843)

  • When passing integers/unsigned integers to COM objects which did not fit
    into 32bits, OverflowErrors were silently discarded and -1 was silently
    passed. This has been fixed for signed integers (an OverflowError is now
    raised) and unsigned integers now allow for values with the high-bit set to
    be passed correctly.

  • Fix win32com.client.WithEvents() on py3k.

  • makepy may have generated syntax errors if 'helpstring' elements in typelibs
    had strange quoting or slashes (bug 3199631)

  • Fixed that in some cases win32file.GetOpenFileName and GetSaveFileName
    could have returned trailing garbage after an embedded NULL character.
    (bug 3277647)

  • Some functions which accepted a DWORD did not accept long integers which
    fit in 32bits with the most signficant bit set (eg, 0x80000000).

  • Source-code management moved from CVS to Mercurual.

  • - Added SHCreateShellItem and fixed some 64bit issues.

  • win32evtlog - Added some of the new event log functions introduced in
    Vista/Windows 7

  • win32service - Added EnumServicesStatusEx, and support startup type
    "delayed" for Python services

  • win32net - Fix a problem with NetFileEnum on 64-bit (bug #3376041)

Discussion for the Python for Windows Extensions Package

Ground Rules:

  • This discussion is only about Python for Windows Extensions and the Python for Windows Extensions package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Python for Windows Extensions, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus