comment_io – A Python script to comment and uncomment lines
The author tells us: “This is a small script written in Python to help you to automatically comment and uncomment lines in your code. The program was sprung out of a need I myself had of turning on and off certain environments in LaTeX. After digging around, trying to make this happen by using only LaTeX code, I finally got fed up and just wrote this program instead.”
Basically, you use the program by marking certain lines in your code with certain commands. The program then detects these commands and comments or uncomments the whole line depending on which mode you’ve set it to.
|GNU General Public License, version 3
|Carl Martin Henrik Larsson
Download the contents of this package in one zip archive (5.1k).
Maybe you are interested in the following packages as well.
- xcomment: Allows selected environments to be included/excluded
- optional: Facilitate optional printing of parts of a document
- versions: Optionally omit pieces of text
- hideanswer: Generate documents with and without answers by toggling a switch