nudatus(1)

nudatus1

Remove comments from python 3 scripts

Usage

nudatus input [output]

nudatus --version

nudatus -h

Overview

nudatus is a utility to remove comments from Python 3 scripts.

nudatus was created to help fit longer, heavily-documented Python programs onto the micro:bit single-board computer (SBC), but it should be suitable for similar platforms with restricted storage capacity.

Arguments

input

a Python script to remove comments from

output

a file to write the stripped Python script to. If output is not specified, output will be written to STDOUT.

Options

--version

print version number and exit

-h

print help, then exit

Examples

Remove comments from the script script.py and write the stripped file to script-min.py:

nudatus script.py script-min.py

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11–12
  3. 13

Reporting bugs

Upstream bug tracker: https://github.com/ZanderBrown/nudatus/issues

Author

This manual page was created by Nick Morrott <[email protected]> for the Debian GNU/Linux system, but may be used by others.

From python3-nudatus 0.0.5-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.