From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:6214:418d:b0:4c6:10ee:b758 with SMTP id ld13-20020a056214418d00b004c610eeb758mr2872466qvb.130.1668190093551; Fri, 11 Nov 2022 10:08:13 -0800 (PST) X-Received: by 2002:a05:620a:3dc:b0:6fa:17e5:b62b with SMTP id r28-20020a05620a03dc00b006fa17e5b62bmr2078667qkm.676.1668190093314; Fri, 11 Nov 2022 10:08:13 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 11 Nov 2022 10:08:13 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=152.249.156.27; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 152.249.156.27 References: <7d578e15-d21e-4eae-a519-d98c1bf1145cn@googlegroups.com> <673c0ad1-dd6d-4cc6-a191-3bcff7f1c5ddn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Running Python code from GPRBuild (Calling from GNAT Studio) From: "Rego, P." Injection-Date: Fri, 11 Nov 2022 18:08:13 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1917 Xref: reader01.eternal-september.org comp.lang.ada:64604 List-Id: > It should show syntax errors. If you remove -m py_compile switches, then > it will "compile" and execute. Got some error when removed -m switch C:\GNAT\2021\libexec\gnatstudio\gnathub\share\gnathub\python\python.exe: can't open file 'compileall': [Errno 2] No such file or directory > (Python is not the thing you would wish to use in an IDE or anywhere, > pretty much consistently so... (:-)) LOL. I got lazy :-) IDEs make life easier, debugging, autocomplete, syntax highlight, pretty printing, analysers rsrsrs even for Py stuff (can't run away from it)