TG Telegram Group Link
Channel: Pythonista
Back to Bottom
Python file extensions:
.py - Regular scripts
.py3 - (rarely used) Python3 script. Python3 scripts usually end with ".py" not ".py3", but I have seen that a few times
.pyc - compiled script (Bytecode)
.pyo - optimized pyc file
.pyw - Python script for Windows. It is executed with pythonw.exe
.pyx - Cython src to be converted to C/C++
.pyd - Python script made as a Windows DLL
.pxd - Cython script which is equivalent to a C/C++ header
.py[cod] - wildcard notation in ".gitignore" that means the file may be ".pyc", ".pyo", or ".pyd".
New version PyPy 5.0 released!
release notes: http://doc.pypy.org/en/latest/release-5.0.0.html
Radon is a Python tool that computes various metrics from the source code. Radon can compute:
- McCabe's complexity, i.e. cyclomatic complexity
raw metrics (these include SLOC, comment lines, blank lines, &c.)
- Halstead metrics (all of them)
- Maintainability Index (the one used in Visual Studio)

https://github.com/rubik/radon
Каталог каналов от самой большой медиасети в Telegram - @catalog_channels
HTML Embed Code:
2025/07/02 14:12:14
Back to Top