Python 3.13: Fix and polish #1

Merged
vilmibm merged 15 commits from noelle/tilde-train:python-3.13 into trunk 2025-06-02 22:23:23 +00:00
Showing only changes of commit 6d4e7c7914 - Show all commits

View File

@ -52,40 +52,42 @@ print_train = False ## print train to file (instead of the screen scroll)
train = [""]*max_y ## empty train of correct height.
cars = []
engine = r""" ____
|____| ------------
| | === | ------ |
___| |__| |_____| | O | |
| | | |__/V\_| |
[[ | |
| | ------------ | ~town |
|__|______________|__________|
//// / _\__/__\__/__\ / \
//// \__/ \__/ \__/ \__/ """
engine = engine.split("\n")
engine = [
r" ____ ",
r" |____| ------------",
r" | | === | ------ |",
r" ___| |__| |_____| | O | |",
r" | | | |__/V\_| |",
r" [[ | |",
r" | | ------------ | ~town |",
r" |__|______________|__________|",
r" //// / _\__/__\__/__\ / \ ",
r"//// \__/ \__/ \__/ \__/ ",
]
caboose = r""" ||
============= ||
=========| |==========
| ---- ---- |
| | | | | |
| ---- ---- |
| tilde.town railways |
==| |==
== - / \-/ \-----/ \-/ \ - ==
\__/ \__/ \__/ \__/ """
caboose = caboose.split("\n")
default_car = r""" ----------------------------
| |
| YOUR TRAIN CAR HERE! |
| Just create a |
| ~/.choochoo file! |
| __ __ __ __ |
- / \-/ \------/ \-/ \ -
\__/ \__/ \__/ \__/"""
default_car = default_car.split("\n")
caboose = [
r" || ",
r" ============= || ",
r"=========| |========== ",
r" | ---- ---- | ",
r" | | | | | | ",
r" | ---- ---- | ",
r" | tilde.town railways | ",
r"==| |== ",
r"== - / \-/ \-----/ \-/ \ - == ",
r" \__/ \__/ \__/ \__/ ",
]
default_car = [
r" ---------------------------- ",
r"| |",
r"| YOUR TRAIN CAR HERE! |",
r"| Just create a |",
r"| ~/.choochoo file! |",
r"| __ __ __ __ |",
r" - / \-/ \------/ \-/ \ - ",
r" \__/ \__/ \__/ \__/ ",
]
def print_help():
print("")