[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: working with Python scripts
From: |
Jean Abou Samra |
Subject: |
Re: working with Python scripts |
Date: |
Wed, 25 Jan 2023 12:27:11 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 |
On 25/01/2023 11:42, Martín Rincón Botero wrote:
> Hi Werner,
>
> thank you for that idea! It seems like a clever way to make it work
> fast. I tried that, however, and didn't succeed. At the end of which
> file would you add the input() command? If I add it at the end of
> musicexp.py the musicxml2py doesn't run at all.
If you do this, try
if __name__ == '__main__':
main()
input() # add this
at the end of musicxml2ly.py.
But really, better figure out how to make it work reliably in your
terminal rather than rely on some Frescobaldi automagic.
OpenPGP_signature
Description: OpenPGP digital signature