Skip to main content

A tool to remove comments [with Chinese] characters from Python files.

Project description

Chinese Comment Remover

A simple tool to remove all comments [with chinese character] from a source code file or a directory.

Installation

pip install chinese-comment-remover

Usage

# Remove Chinese comment in a file
remove-comment <file> -c

# Remove Chinese comment in a directory
remove-comment <directory> -c -r

# Remove All comments in a file
remove-comment <file>

# Remove All comments in a directory
remove-comment <directory> -r

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chinese-comment-remover-0.0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

chinese_comment_remover-0.0.0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page