Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cr34t1ve/text-prefixing-python
File text prefixing in python
https://github.com/cr34t1ve/text-prefixing-python
filesystem python
Last synced: 9 days ago
JSON representation
File text prefixing in python
- Host: GitHub
- URL: https://github.com/cr34t1ve/text-prefixing-python
- Owner: cr34t1ve
- Created: 2023-12-08T14:35:33.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-08T14:39:07.000Z (11 months ago)
- Last Synced: 2024-06-07T20:16:55.903Z (5 months ago)
- Topics: filesystem, python
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Text Prefixing in Python
## Introduction
This is a simple Python script that prefixes text in a file. It was created to prefix text in a txt file, but it can be used for any file type.
## Usage
The script takes 2 arguments:
1. The path to the file to be prefixed
2. The path to the output fileIf the output file does not exist, it will be created. If it does exist, it will be overwritten.
## Example
```bash
python main.py README.md README2.md
```