songleash

generate chansons en laisse
git clone https://a3nm.net/git/songleash/
Log | Files | Refs

commit 2c197b384289584f0b1618d2d0cbf7ec327fbf6e
parent 52c560d7c22391659b57b3c57b764c00ebb8f957
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri, 16 Oct 2020 15:04:08 +0200

adapt arrange.py to python3

Diffstat:
arrange.py | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arrange.py b/arrange.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 import sys @@ -16,11 +16,11 @@ def transp(n): n = n[:-1] + "6" return n -print """<?xml version="1.0"?> +print ("""<?xml version="1.0"?> <!DOCTYPE SINGING PUBLIC "-//SINGING//DTD SINGING mark up//EN" "Singing.v0_1.dtd" -[]>""" -print '<SINGING BPM="%s">' % bpm +[]>""") +print ('<SINGING BPM="%s">' % bpm) while True: note = notes.readline() @@ -52,4 +52,4 @@ while True: notes.close() -print "</SINGING>" +print ("</SINGING>")