Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 file

If 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
```