File: test.py

package info (click to toggle)
libtemplates-parser 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 3,404 kB
  • sloc: ada: 12,020; python: 658; makefile: 351; sh: 37
file content (12 lines) | stat: -rw-r--r-- 252 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
from test_support import *

run(
    "templates2ada",
    ["-e", "tmpl", "-d", ".", "-t", "./localtempl.tads", "-o", "t2a.tmp"],
)
file = open("t2a.tmp")
lines = file.readlines()
file.close()

for line in lines:
    print(line[:-1].replace("\\", "/"))