Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A good friend was translating Ovid's Metamorphoses, and I wrote this small Python program to help him compile an index of names.

Notifications You must be signed in to change notification settings

TimothyRuszala/IndexMaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

IndexMaker

A good friend was translating Ovid's Metamorphoses, and I wrote this small Python program to help him compile an index of names. With two basic commands, this program allows the user to automatically add and remove names from a generated index.txt file.

Unfortunately, due to copyright I cannot include an example of the text from which the index is created.

But feel free to adapt this code for your own purposes!

Usage

Names can be searched from the command line.

For example, to add all instances of 'Jove' to the index, type:

python3 MetIndex.py Jove

To remove the entry for 'Jove' from the index:

python3 MetIndex.py -rm Jove # removes the entry for 'Jove' from the index

About

A good friend was translating Ovid's Metamorphoses, and I wrote this small Python program to help him compile an index of names.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /