Download mgm/lib/python3.10/site-packages/pygments/__main__.py from ZTWHHH/envs_2: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/mgm/lib/python3.10/site-packages/pygments/__main__.py
- Command line
-
hf download hf://datasets/ZTWHHH/envs_2/mgm/lib/python3.10/site-packages/pygments/__main__.py
-
curl -L -o __main__.py https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/mgm/lib/python3.10/site-packages/pygments/__main__.py
348 Bytes
| """ | |
| pygments.__main__ | |
| ~~~~~~~~~~~~~~~~~ | |
| Main entry point for ``python -m pygments``. | |
| :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. | |
| :license: BSD, see LICENSE for details. | |
| """ | |
| import sys | |
| import pygments.cmdline | |
| try: | |
| sys.exit(pygments.cmdline.main(sys.argv)) | |
| except KeyboardInterrupt: | |
| sys.exit(1) | |