You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
357 B
10 lines
357 B
#!/usr/bin/env python3
|
|
import os
|
|
from common.basedir import BASEDIR
|
|
|
|
with open(os.path.join(BASEDIR, "docs/CARS.md")) as f:
|
|
lines = f.readlines()
|
|
cars = [l for l in lines if l.strip().startswith("|") and l.strip().endswith("|") and
|
|
"Make" not in l and any(c.isalpha() for c in l)]
|
|
print(''.join(cars))
|
|
print(len(cars))
|
|
|