Fwd: Python Question re Executing a Script (dn)
MRAB
python at mrabarnett.plus.com
Mon May 2 13:15:32 EDT 2022
On 2022-05-02 17:23, Dennis Lee Bieber wrote:
> On Mon, 2 May 2022 20:33:02 +1200, dn <PythonList at DancesWithMice.info>
> declaimed the following:
>
>>Perhaps an MS-Win user can help the OP, please?
>
> Not really -- at least from my viewpoint there is not enough
> information to perform any diagnoses... Other than to recommend that, if
> the OP initially posted to the list/newsgroup, they should ensure any
> replies also go to the same (I don't respond to what should be group
> replies that appear in my personal mail -- which is what the OP did for me
> also).
>
> {Hmmm, appears the quoted content is below your signature block, and my
> client doesn't quote standard signatures and below... time for some nasty
> cut&paste}
>
>>From: Brent Hunter <brent at brenthunter.tv>
>>Date: Mon, 2 May 2022 00:30:22 +0000
>>
>
>>I was recently running a Windows 10 machine and I believe it was running Python 3.8. All I did was create a batch file titled Start-AIG.bat which simply contained the following: "pythonw AIG.py". It started a python program titled "AIG.py" and the Python dialog box was displayed on my screen, running all day and night. I set up Windows to run this batch file upon startup and it worked fine. I remember having to do a bunch of research before I learned that I needed to put "pythonw AIG.py" in the batch file as opposed to "python AIG.py".
>>
>
[snip]
FTR, I've already posted the suggestion to try the Python Launcher
"pyw", and the OP replied off-list that it worked.
More information about the Python-list
mailing list