.PYZ Přípona souboru

Python Application Zip File

Vývojář Python Software Foundation
Popularita
3.8  |  5 Hlasů
 

Co je soubor PYZ?

A PYZ file is an executable Python application stored in a compressed or uncompressed .ZIP archive. It contains a .PY script (likely named __main__.py) and may also include Python modules, libraries, and resource files. Users package and share Python applications as PYZ files to share with others who can securely run them across different platforms without installation.

Další informace

You can create a .pyz file using the "zipapp" module in Python's standard library. To create a PYZ file, type the following:

import zipapp

zipapp.create_archive('filename.pyz', interpreter='path_to_python')

POZNÁMKA: PYZ files run in the Python console window, while PYZW files store a Python Windows (GUI) application.

Jak otevřít soubor PYZ

You can open PYZ files with the Python interpreter (beginning with version 2.6) on any platform. For example, you can type the following in Python to run a Python application in a PYZ file: python filename.pyz. You can also run a PYZ file in Windows by double-clicking it.

Since PYZ files are renamed ZIP files, you can open them with a standard compression utility, such as "Windows File Explorer," Apple Archive Utility (macOS), Corel WinZip (Windows), or Corel WinZip Mac (macOS). You may need to rename the file extension from .pyz to .zip.

Otevřete více než 400 formátů souborů pomocí File Viewer Plus.Stáhnout zdarma

Programy, které otevírají soubory PYZ

Ověřil FileInfo.com

Tým FileInfo.com nezávisle prozkoumal formát souboru Python Application Zip a aplikace Mac, Windows, and Linux uvedené na této stránce. Naším cílem je 100% přesnost a zveřejňujeme pouze informace o typech souborů, které jsme ověřili.

Pokud chcete navrhnout doplnění nebo aktualizaci této stránky, dejte nám vědět.