Programming TXT PS! Team Storage

dom

Banned deucer.
https://github.com/partys-over/txt-team-storage
(if you're somehow not familiar with text files, go here i guess)

I made a small little few scripts that manage .txt files containing showdown teams. I saw I had an old project where I made my 1v1 teams public on gitlab, so I just tweaked some parts of the process and broadened its uses. You can use this for a site you're hosting, with the teams index file or the allteams file. You can also just use it as a team backing up tool for teams you don't want to lose. The purpose for this thing is kind of vague, but go ahead and do whatever with it. I included a sample 1v1 team and folder so you can see how I do things.

It's in python 2, so get that if you don't have it already https://www.python.org/downloads/ (looking at you, windows users).

Here is my old 1v1 teams archive that helped pave the way for this and is also a functioning example of this program.

Enjoy.

Note: This program itself is very small, with the main file, add.py, being just under 800 bytes (or 22 lines of python). My suggestion is that you could use this to back up teams you really like and would not want to lose. Or something. Backing up 2000 teams sounds nasty, though.
 
Last edited:

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top