# python统计pdf,word文档字数 **Repository Path**: lxynb/python-Word-Count ## Basic Information - **Project Name**: python统计pdf,word文档字数 - **Description**: 实用python脚本统计pdf和word文档字数 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-01 - **Last Updated**: 2025-09-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Python Word Count This is a simple Python project for counting the number of words in a text file. ## Features - Counts the number of words in a specified text file. - Supports multiple file encoding formats. - Can ignore case and punctuation. ## Usage 1. Clone the repository to your local machine: ```bash git clone https://gitee.com/lxynb/python-Word-Count.git ``` 2. Run the program: ```bash python word_count.py ``` ## Example Assume there is a text file named `example.txt` with the following content: ``` Hello, world! Hello, Python! ``` After running the program, the output might be: ``` Word count: 4 ``` ## Contributions Feel free to submit issues and pull requests to improve this project. ## License This project uses the MIT License. For details, please check the [LICENSE](LICENSE) file.