File: svg2annotations

package info (click to toggle)
slm 2.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,520 kB
  • sloc: python: 15,419; javascript: 5,061; makefile: 184; sh: 182; xml: 57
file content (11 lines) | stat: -rwxr-xr-x 265 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/python3

import sys, os
sys.path.insert(0, os.path.dirname(__file__))

from annotation import to_python_avec_svg

if len(sys.argv) < 2:
    print("""Usage : svg2annotations chemin_vers_un_fichier.svg""")
else:
    print(to_python_avec_svg(sys.argv[1]))