Re: [Tutor] Two Scripts, Same Commands, One Works, One Doesn't

2019-05-19 Thread Alan Gauld via Tutor
On 19/05/2019 04:58, DL Neil wrote: > last time I used the term "bomb", I'm guessing that "abend" wouldn't > pass muster either... Gosh, I haven't seen a reference to abend in 20 years. I'd almost managed to erase the memory... :-) -- Alan G Author of the Learn to Program web site

Re: [Tutor] Two Scripts, Same Commands, One Works, One Doesn't

2019-05-19 Thread DL Neil
Stephen, On 16/05/19 12:16 AM, Stephen P. Molnar wrote: I am writing scripts to semi-automate some of my Quantum Chemistry software and have encountered a problem that has me baffled. The two scripts have the same form, the only difference being the commands. One script works, the other

Re: [Tutor] Two Scripts, Same Commands, One Works, One Doesn't

2019-05-16 Thread Stephen P. Molnar
Thanks for your reply. I am most appreciative of your detailed response. Please see below for my comments. On 05/15/2019 08:12 PM, Steven D'Aprano wrote: Hi Stephen, My responses are interleaved with your comments below. Please excuse the length of my post, but your problem is a complicated

Re: [Tutor] Two Scripts, Same Commands, One Works, One Doesn't

2019-05-15 Thread John Collins
Probably not applicable, but before deleting the original post, I distinctly remember seeing in amongst the text of the post, ".pfd" as part of a larger string of text, and as distinct from ".pdf". I wondered then if the OP's problem might be a typographical error? I am a student not a tutor -

Re: [Tutor] Two Scripts, Same Commands, One Works, One Doesn't

2019-05-15 Thread Steven D'Aprano
Hi Stephen, My responses are interleaved with your comments below. Please excuse the length of my post, but your problem is a complicated one. On Wed, May 15, 2019 at 08:16:02AM -0400, Stephen P. Molnar wrote: > I am writing scripts to semi-automate some of my Quantum Chemistry > software and

Re: [Tutor] Two Scripts, Same Commands, One Works, One Doesn't

2019-05-15 Thread Cameron Simpson
On 15May2019 08:16, Stephen P. Molnar wrote: I am writing scripts to semi-automate some of my Quantum Chemistry software and have encountered a problem that has me baffled. The two scripts have the same form, the only difference being the commands. As you say, the scripts are the same but

[Tutor] Two Scripts, Same Commands, One Works, One Doesn't

2019-05-15 Thread Stephen P. Molnar
I am writing scripts to semi-automate some of my Quantum Chemistry software and have encountered a problem that has me baffled. The two scripts have the same form, the only difference being the commands. One script works, the other bombs. The script that works is: #!/usr/bin/env python # -*-