python for windows extensions

Overview
This is the readme for the Python for Win32 (pywin32) extensions source code.

See CHANGES.txt for recent changes.

'setup.py' is a standard distutils build script.  You probably want to:

% setup.py install
or
% setup.py --help

These extensions require the same version of MSVC as used for the 
corresponding version of Python itself.  Some extensions require a recent 
"Platform SDK"  from Microsoft, and in general, the latest service packs 
should be  installed, but run 'setup.py' without any arguments to see 
specific information about dependencies.  A vanilla MSVC installation should 
be able to build most extensions and list any extensions that could not be 
built due to missing libraries - if the build actually fails with your 
configuration, please log a bug via http://sourceforge.net/projects/pywin32.
You might also like...
Attempt at a Windows version of the plotman Chia Plot Manager system
Attempt at a Windows version of the plotman Chia Plot Manager system

windows plotman: an attempt to get plotman to work on windows THIS IS A BETA. Not ready for production use just yet. Almost, but not quite there yet.

 WhyNotWin11 - Detection Script to help identify why your PC isn't Windows 11 Release Ready
WhyNotWin11 - Detection Script to help identify why your PC isn't Windows 11 Release Ready

WhyNotWin11 - Detection Script to help identify why your PC isn't Windows 11 Release Ready

Tomador de ramos UC automatico para Windows, Linux y macOS

auto-ramos v2.0 Tomador de ramos UC automatico para Windows, Linux y macOS Funcion Este script de Python tiene como principal objetivo hacer que la to

WinBoost: Boost your windows system.

Winboost runs a complete checkup of your entire system locating junk files, speed-reducing issues and causes of any system or application glitches or crashes. Through a lot of research and testing, we have worked out precise techniques that allow locating issues, which can be safely removed with no risk of damaging your operating system.

Windows symbol tables for Volatility 3

Windows Symbol Tables for Volatility 3 This repository is the Windows Symbol Table storage for Volatility 3. How to Use $ git clone https://github.com

Change your Windows background with this program safely &  easily!
Change your Windows background with this program safely & easily!

Background_Changer Table of Contents: About the Program Features Requirements Preview Credits Reach Me See Also About the Program: You can change your

creates a batch file that uses adb to auto-install apks into the Windows Subsystem for Android and registers it as the default application to open apks.

wsa-apktool creates a batch file that uses adb to auto-install apks into the Windows Subsystem for Android and registers it as the default application

A browser login credentials thief for windows and Linux

Thief 🦹🏻 A browser login credentials thief for windows and Linux Python script to decrypt login credentials from browsers in windows or linux Decryp

Apache Superset out of box version(Windows 64-bit)

superset_app Apache Superset out of box version (Windows 64bit) prepare job download 3 files python-3.8.10-embed-amd64.zip get-pip.py python_geohash‑0

Comments
  • Probably memory leak in the win32evtlog

    Probably memory leak in the win32evtlog

    I am simulating logon events using the following script

    import win32security
    import sys
    from time import sleep
    
    count = 0
    while True:
        x = win32security.LogonUser("xx","", "xx",3,0)
        x = None
        #sleep(0.01)
        if count & 0x3FF == 0x3FF:
            print ".",count+1,
            sys.stdout.flush()
        count = count + 1
    

    and in a separate process I am listening for logon events

    import win32evtlog
    from time import sleep
    import gc
    import sys
    count = 0
    def my_event_handler(reason, context, evt):
        global count 
        if count & 0x3FF == 0x3FF:
            print ".",count+1,
            sys.stdout.flush()
        count = count + 1
        return 0
    
    subscription = win32evtlog.EvtSubscribe('Security',
                                            win32evtlog.EvtSubscribeToFutureEvents,
                                            None, Callback=my_event_handler, Context=None,
                                            Query=None)
    
    while True:
        sleep(0.1)
        gc.collect()
    

    I see steady increasing heap of approximately 40 bytes per event and approximately 120 bytes per logon. I looked in the code of the win32evtlog.i function PyEvtSubscribe_callback(). I am wondering if DECREF is missing for "func" and "obconext" local variables returned by PyTuple_GET_ITEM()

    Thanks

    opened by larytet 1
  • Could not find a version that satisfies the requirement pywin32==223

    Could not find a version that satisfies the requirement pywin32==223

    while pushing my project on heroku i am getting this error.

     Could not find a version that satisfies the requirement pywin32==223
     No matching distribution found for pywin32==223
    

    any idea please tell me.

    opened by rahul6612 0
  • AttributeError: 'PyTraceObject' object has no attribute 'encoding'

    AttributeError: 'PyTraceObject' object has no attribute 'encoding'

    Hi,

    I realize this probably isn't a real issue with your library, but I could find very few references to this PyTraceObject anywhere on the internet, and this seems like the most relevant site I could find.

    I am trying to so some networking using Python's HTTPAuthConnection (it's a file sharing app using the WebDAV protocol). On Windows 10 64-bit VM, things work fine, but when using a real machine, I am getting the above error in certain circumstances (I'm not entirely sure what the differences are in circumstance that lead to this, which is what makes this so hard to debug).

    Since you appear to have defined this object (PyTraceObject), is there any chance you might know what could be causing this problem or how to resolve, or at least, debug it?

    My full stack trace is as follows: File "smartshare\core\dav.py", line 75, in connect File "site-packages\webdav\WebdavClient.py", line 389, in readProperties File "site-packages\davlib.py", line 208, in propfind File "site-packages\webdav\Connection.py", line 125, in _request File "site-packages\webdav\Connection.py", line 158, in __evaluateResponse File "site-packages\webdav\WebdavResponse.py", line 113, in str AttributeError: 'PyTraceObject' object has no attribute 'encoding'

    Our application is making use of the following library: https://pypi.python.org/pypi/Python_WebDAV_Library

    and it is in this library as you can see above, where the problem is occurring.

    Any advice or assistance would be most greatly appreciated!

    Thanks, -Dave Jackson Green Mars Consulting

    opened by jacksonofalltrades 0
Owner
null
An extension for Arma 3 that lets you write extensions in Python 3

An Arma 3 extension that lets you to write python extensions for Arma 3. And it's really simple and straightforward to use!

Lukasz Taczuk 48 Dec 18, 2022
A python script developed to process Windows memory images based on triage type.

Overview A python script developed to process Windows memory images based on triage type. Requirements Python3 Bulk Extractor Volatility2 with Communi

CrowdStrike 245 Nov 24, 2022
Spyware baseado em Python para Windows que registra como atividades da janela em primeiro plano, entradas do teclado.

Spyware baseado em Python para Windows que registra como atividades da janela em primeiro plano, entradas do teclado. Além disso, é capaz de fazer capturas de tela e executar comandos do shell em segundo plano.

Tavares 1 Oct 29, 2021
Windows Task Manager with special features, written in Python.

Killer That damn Chrome ⬇ Download here · ?? Join our discord Tired of trying to kill processes with the default Windows Task Manager? Selecting one b

Nathan Araújo 49 Jan 3, 2023
A python API act as Control Center to control your Clevo Laptop via wmi on windows.

ClevoPyControlCenter A python API act as Control Center to control your Clevo Laptop via wmi on windows. Usage # pip3 install pymi from clevo_wmi impo

null 3 Sep 19, 2022
Winxp_python3.6.15 - Python 3.6.15 For Windows XP SP3

This is Python version 3.6.15 Copyright (c) 2001-2021 Python Software Foundation. All rights reserved. See the end of this file for further copyright

Alex Free 13 Sep 11, 2022
Hashcrack - A non-object oriented open source, Software for Windows/Linux made in Python 3

Multi Force This project is a non-object oriented open source, Software for Wind

Radiationbolt 3 Jan 2, 2023
ABT aka Animated Background Tool is a windows only python program that makes it that you can have animated background.

ABT ABT aka Animated Background Tool is a windows only python program that makes it that you can have animated background. ???????? ????, An Important

Yeeterboi4 2 Jul 16, 2022
CNKD - Minimalistic Windows ransomware written in Python

CNKD Minimalistic Windows ransomware written in Python (Still a work in progress

Alex 2 May 27, 2022
Hook and simulate global keyboard events on Windows and Linux.

keyboard Take full control of your keyboard with this small Python library. Hook global events, register hotkeys, simulate key presses and much more.

BoppreH 3.2k Jan 1, 2023