pywin32

(β˜… 5,601)

Python for Windows (pywin32) Extensions

  • .clang-format
  • .editorconfig
  • .git-blame-ignore-revs
  • .gitattributes
  • .gitignore
  • .hgeol
  • .pre-commit-config.yaml
  • build_env.md
  • CHANGES.md
  • make_all.bat
  • mypy.ini
  • NOGIL.md
  • pyproject.toml
  • pyrightconfig.json
  • pywin32.pth
  • README.md
  • ruff.toml
  • setup.py

# Installation Guide

1. Get the code
git clone https://github.com/mhammond/pywin32

Downloads the entire project code from GitHub to your computer.

cd pywin32

Moves into the project folder you just downloaded.

2. .NET

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • .NET SDK The SDK required for the dotnet command.
⚠️ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd com/TestSources/PyCOMTest

This project's files live in a subfolder, so move into it first.

dotnet restore

Downloads the packages the project depends on.

dotnet run

Builds the project and runs it immediately.

βœ… After dotnet run, check the message or address shown in the terminal.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
python -m pip install --upgrade pywin32

Installs the Python libraries listed in requirements.txt (or similar).

python -m pywin32_postinstall -install

Runs the Python script (or module).

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

4. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
⚠️ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd pythonwin/Scintilla/win32

This project's files live in a subfolder, so move into it first.

make

Compiles the code based on the generated build configuration to produce an executable.

βœ… If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation