Source Code Dython Logo Source Code Dython 2026 v7.0.9.4 build 20260119.035935

Following is an overview of some functions, subject to the release version:

Related Application

Source Code PyInstaller      Source Code Cython

Digital C/C++ IDE     Digital Python IDE

Basic Usage

Cython will first convert .PXD .PY .PYW .PYX file into .C intermediate code, then compiled into the .PYD module file; therefore, decompiling .PYD file can only get .C intermediate code (the original source code could not be obtained).

Depends on the version of Python interpreter used when compiling, automatic correct *.C intermediate code document 2.7 3.x language level; However, must write the setup.py compilation configuration file in strict accordance with the specified code form.

If there is no response for a long time after the *.C file is generated, please check the installed Visual Studio Build Tools for C/C++ version (compatible with 2017 and earlier versions) or configuration is correct or not.

If the Microsoft Visual C/C++ compiler is not installed or the configuration is incorrect when compiling, the prompt (including link address) dialog for installing the Visual C/C++ compiler will pop up.

If you use external or custom modules, please add the corresponding path to CMD Config dialog PATH variable box.

If there is a problem with the source code during transcoding, the source code error summary prompt dialog will pop up.

Python3.x

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
 
__version__ = "0.1.7.1 build 20200301.060127" #采用 全文替换 小程序批量修改时,勾选 文件版本 复选框会自动更新
 
from distutils.core import setup
from Cython.Build import cythonize
 
# Below code typeset forms must be followed strictly
modules = [
    "base.py",
    "text.py"] #Usually only modify the name of the module to be compiled here,__init__.py does not support compilation
setup(
    ext_modules=cythonize(modules),
)
					

Python2.7

#!/usr/bin/env python2
# -*- coding: utf-8 -*-
#
 
__version__ = "0.1.7.1 build 20200301.060127" #采用 全文替换 小程序批量修改时,勾选 文件版本 复选框会自动更新
 
from distutils.core import setup
from Cython.Build import cythonize
 
# Below code typeset forms must be followed strictly
modules = [
    "base.py",
    "text.py"] #Usually only modify the name of the module to be compiled here,__init__.py does not support compilation
setup(
    ext_modules=cythonize(modules),
)
					

Fit Format

Usage Scene File Format Usage Scene File Format
Python Programming Language .py .pyw Cython Programming Language .pxd .pyx

What specific formats are supported, subject to the release version.