https://github.com/cr34t1ve/text-prefixing-python
File text prefixing in python
https://github.com/cr34t1ve/text-prefixing-python
filesystem python
Last synced: about 2 months 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-08T14:39:07.000Z (over 1 year ago)
- Last Synced: 2025-02-16T20:20:02.697Z (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
```