File: process-xml.py

package info (click to toggle)
rygel 45.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 8,712 kB
  • sloc: xml: 1,756; ansic: 1,081; python: 226; sh: 64; makefile: 24
file content (8 lines) | stat: -rwxr-xr-x 135 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
#!/usr/bin/env python3

import sys
import re

with open(sys.argv[1], 'r') as f:
    for data in f:
        print(data.strip(), end='')