I made a Python script for making schedules
I was frustrated by the errors I was making in schedule and feature race files due to small things like not putting a comma where it was supposed to be, so I've made a script that will take your command line input and turn it into individual feature race files for the countries and then one schedule file. Fully formatted and I've even built in a duplicate checker that checks for duplicate names at the moment but I'll update to check for duplicate names at the same racecourse.
At the moment the script records all entered races to the SQLite database included, but doesn't interact with it in a way that means you can go back and print a race you've already entered. You also can't delete entries in the output files through the script, that has to be done by opening them up and doing it manually. I might add those things in the future if anyone expresses interest.
So how the script works (this assumes you've already installed Python 3+ and SQLite on your computer):
1. Download the files from the Github page to a folder on your computer.
2. Open up Command Prompt and navigate to the folder you've just downloaded to.
3. Type in the race details in this format (you have to enter your races in chronological order):
-f 1m4f -r COND -n "Jan Bris 1m4f Conditions" -p 25000 -a 3up -g T -m Jan -d 18 -i 'home' -t Brisbane -C mw -c 3
4. Press your enter key and the word "Success" should print in your Command Prompt.
5. If you open your schedule file and the featureRace file for the country, this is how it prints out:
1,18
Brisbane
Jan Bris 1m4f Conditions
<NAME>Jan Bris 1m4f Conditions<RACECOURSE>Brisbane:cc_flatTurf1
<MONTH>Jan<PRIZE>25000<EXTFIELDSPEC>home<DISTANCE>12.0<RACECATAG>CONDITIONS<AGE>3YOUP<CONDITIONS>maxwins=3
6. The last step is just moving the featureRace files to their country folders and renaming them to remove the prefix.
If anyone would like to download it, or check out the list of what all the -dashed letters mean, here's the link:
https://github.com/twilightsophie/so7-schedule-tool