nudatus - remove comments from Python 3 scripts
Contents
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.
Copyright
Copyright 2018 Zander Brown
Description
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.
Examples
Remove comments from the script script.py and write the stripped file to script-min.py:
nudatus script.py script-min.py
Name
nudatus - remove comments from Python 3 scripts
Options
--version
print version number and exit
-h print help, then exit
Reporting Bugs
Upstream bug tracker: https://github.com/ZanderBrown/nudatus/issues
See Also
mu-editor(1), uflash(1) 0.0.5 December 2018 NUDATUS(1)
Synopsis
nudatusinput [output]
nudatus--versionnudatus-h