Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"I don't think so," said Ren'e Descartes. Just then, he vanished.


devel / comp.lang.python / Re: Fwd: Python Question re Executing a Script (dn)

SubjectAuthor
* Fwd: Python Question re Executing a Script (dn)dn
`* Re: Fwd: Python Question re Executing a Script (dn)Dennis Lee Bieber
 `- Re: Fwd: Python Question re Executing a Script (dn)MRAB

1
Fwd: Python Question re Executing a Script (dn)

<mailman.294.1651480403.20749.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18105&group=comp.lang.python#18105

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: PythonL...@DancesWithMice.info (dn)
Newsgroups: comp.lang.python
Subject: Fwd: Python Question re Executing a Script (dn)
Date: Mon, 2 May 2022 20:33:02 +1200
Organization: DWM
Lines: 189
Message-ID: <mailman.294.1651480403.20749.python-list@python.org>
References: <BY5PR12MB4162583FEF92544DD8D20CBDC6C19@BY5PR12MB4162.namprd12.prod.outlook.com>
<61055ef8-2765-c9bb-6182-60cb09b94075@DancesWithMice.info>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------FJJNY69VlfgZbSZ904Vvs7xN"
X-Trace: news.uni-berlin.de 1sWG41URXesOE7qFVy8gAQMpM/CX2zd9WRDaYdkRTkqg==
Return-Path: <PythonList@DancesWithMice.info>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=danceswithmice.info header.i=@danceswithmice.info
header.b=JDYVoMoq; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.010
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '2022': 0.05; 'bunch':
0.05; '"python': 0.07; 'app.': 0.07; 'please?': 0.07; 'python.':
0.08; '=dn': 0.09; 'from:addr:danceswithmice.info': 0.09;
'from:addr:pythonlist': 0.09; 'subject:Python': 0.12;
'url:mailman': 0.15; '3.10': 0.16; '3.8.': 0.16; 'batch': 0.16;
'crashed': 0.16; 'displayed': 0.16; 'machine.': 0.16; 'message-
id:@DancesWithMice.info': 0.16; 'received:51.254': 0.16;
'received:51.254.211': 0.16; 'received:51.254.211.219': 0.16;
'received:cloud': 0.16; 'received:rangi.cloud': 0.16; 'wrote:':
0.16; 'python': 0.16; "can't": 0.17; 'figure': 0.19;
'subject:Question': 0.19; 'to:addr:python-list': 0.20; 'machine':
0.22; 'version': 0.23; 'installed': 0.23; 'run': 0.23; 'skip:-
10': 0.25; 'url-ip:188.166.95.178/32': 0.25; 'url-
ip:188.166.95/24': 0.25; 'python,': 0.25; 'url:listinfo': 0.25;
'url-ip:188.166/16': 0.25; 'subject:Fwd': 0.26; 'old': 0.27;
'background': 0.28; 'ideas': 0.28; 'computer': 0.29; 'recently':
0.29; 'header:User-Agent:1': 0.30; 'header:Organization:1': 0.31;
'url-ip:188/8': 0.31; 'program': 0.31; "doesn't": 0.32;
'question': 0.32; 'fine.': 0.32; 'python-list': 0.32; 'titled':
0.32; "i'm": 0.33; 'script': 0.33; 'windows': 0.34; 'same': 0.34;
'header:In-Reply-To:1': 0.34; 'running': 0.34; 'using': 0.37;
'directory': 0.37; 'received:192.168': 0.37; 'file': 0.38; 'way':
0.38; 'could': 0.38; 'put': 0.38; 'thanks': 0.38; 'hello,': 0.40;
'try': 0.40; 'should': 0.40; 'remember': 0.61; 'from:': 0.62;
'to:': 0.62; 'simply': 0.63; 'skip:m 20': 0.63; 'research': 0.64;
're:': 0.64; 'received:51': 0.64; 'your': 0.64; 'upon': 0.64;
'box': 0.65; 'received:userid': 0.66; 'day': 0.66; 'now,': 0.67;
'worked': 0.67; 'content-type:multipart/mixed': 0.68;
'following:': 0.69; 'desktop': 0.70; 'located': 0.71; 'sent:':
0.78; 'content-type:message/rfc822': 0.84; 'executing': 0.84;
'night.': 0.84; 'saturday,': 0.84; 'url:windows': 0.84; 'screen,':
0.93; 'stable': 0.93
DKIM-Filter: OpenDKIM Filter v2.11.0 vps.rangi.cloud 0D55D59F3
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
s=staff; t=1651480396;
bh=rdLKe7kJFmtVZEpIIcm1qXzkmlo1AI46ASsYOZ1Qnh4=;
h=Date:References:Subject:To:From:In-Reply-To:From;
b=JDYVoMoqru3uTyW6McMgsyY69HOr1L9XPG06fu/ZMH2twPGfdH4lAnlW8iSEGkT29
jt3OZ/QFu+yzdC9l0sWpKjozKcjw8CahdgLfmg9NqjEZZ9wn0A+J7DLvUoASToLL3t
F/+FJobMeQEDCR6kUxQM90S0OpK3YPosF260MoajsycSHD2WuXko4JWNJKqSV9FspO
wPiQOukc7BEJ0XhWB2ZOIkniAm53fGU8FTC1PkJ6IDJv7ePtYTajqzx9ViFNXqseBS
KvKehuuzB6KDLquH7scyBVhOS0m2HxAPhS0J+xhTn0rxUPXBk3WfVqpZG0t5vSEw4R
cRyewYxgu2CTQ==
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on vps517507.ovh.net
X-Spam-Level:
X-Spam-Status: No, score=-3.0 required=5.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,T_SCC_BODY_TEXT_LINE autolearn=ham
autolearn_force=no version=3.4.0
DKIM-Filter: OpenDKIM Filter v2.11.0 vps.rangi.cloud 9B75459EE
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
s=staff; t=1651480394;
bh=rdLKe7kJFmtVZEpIIcm1qXzkmlo1AI46ASsYOZ1Qnh4=;
h=Date:References:Subject:To:From:In-Reply-To:From;
b=ZQJlxusAm2k40sBniWVJEFMTOdYME7kcxXqRvVObc+m4TxDvFyMGETGYGupyqrb92
3u/keylCYQHV6UmC8l4u2gNI00gw90HPAmJgGaYVqZRICPYfQcChIewROcRjx2sE02
2qUsXomgP1xdGw2btVbo6zA0mNo/ldgAfWmlDOzB3RhdBRoK08Q3LScpOerQ/czxME
6TstFD8csfYfZNmtFzq8RieOhKyZA40QuekWBoJiYcbc82A5g06ZzUPVLHnsb7pbx5
rI3KHUFvF8bjxVawBIONviAPqY1EGxBm1bbhG6SAGsmlvpWahn4Wa/VQXCmRcEvItn
gREP1JZi9Tyeg==
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Content-Language: en-GB
In-Reply-To: <BY5PR12MB4162583FEF92544DD8D20CBDC6C19@BY5PR12MB4162.namprd12.prod.outlook.com>
X-Forwarded-Message-Id: <BY5PR12MB4162583FEF92544DD8D20CBDC6C19@BY5PR12MB4162.namprd12.prod.outlook.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <61055ef8-2765-c9bb-6182-60cb09b94075@DancesWithMice.info>
X-Mailman-Original-References: <BY5PR12MB4162583FEF92544DD8D20CBDC6C19@BY5PR12MB4162.namprd12.prod.outlook.com>
 by: dn - Mon, 2 May 2022 08:33 UTC
Attachments: "Re: Python Question re Executing a Script (dn).eml" (message/rfc822)

Perhaps an MS-Win user can help the OP, please?
--
Regards,
=dn

Attachments: "Re: Python Question re Executing a Script (dn).eml" (message/rfc822)
Re: Fwd: Python Question re Executing a Script (dn)

<0euv6hdl5ccumftc56te70boi68b6r991a@4ax.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18110&group=comp.lang.python#18110

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!45.76.7.193.MISMATCH!3.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 02 May 2022 11:24:06 -0500
From: wlfr...@ix.netcom.com (Dennis Lee Bieber)
Newsgroups: comp.lang.python
Subject: Re: Fwd: Python Question re Executing a Script (dn)
Date: Mon, 02 May 2022 12:23:58 -0400
Organization: IISS Elusive Unicorn
Message-ID: <0euv6hdl5ccumftc56te70boi68b6r991a@4ax.com>
References: <BY5PR12MB4162583FEF92544DD8D20CBDC6C19@BY5PR12MB4162.namprd12.prod.outlook.com> <61055ef8-2765-c9bb-6182-60cb09b94075@DancesWithMice.info> <mailman.294.1651480403.20749.python-list@python.org>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 101
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-9AGFBF7MaeLbnn0iXb5p7nA6/x0J59ER9SiEzsn5dRghM7QjJqhvh3tRCMkR5LJauJxITo9WNohChb3!555tp2HuY2Z3G8xRhrx9w2+CzsTebq0FComev2/Jiw442VTP1WmTiB+h1Ahn9zCJHqy5q4x1
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 6663
 by: Dennis Lee Bieber - Mon, 2 May 2022 16:23 UTC

On Mon, 2 May 2022 20:33:02 +1200, dn <PythonList@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@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".
>

What in particular is a "Python dialog box"? Python doesn't, of its
own, have dialog boxes. Add-on libraries: Tkinter, wxPython, the win32
extensions, et al. allow one to code scripts that produce dialogs, but the
dialogs are specific to the library.

"pythonw" is the name of the interpreter meant for use with programs
that do not use console I/O -- IOW, pure GUI (one of the aforesaid
libraries).

Normally such programs are given the extension .pyw rather than .py --
and (at least on my system), .pyw files are automatically associated with
pythonw. Just providing the script name with extension is sufficient.
Though there is the matter that giving said name in a command line prompt
means one still has a console active. .pyw files are meant to be started
from the file explorer by double-clicking on them, and one doesn't want to
have a console window popping up if it is never used (which is what happens
if one double-clicks on a plain .py file).

HOW did you "set up Windows to run this batch file upon startup"?

Windows used to support (and still does if
https://www.thewindowsclub.com/startup-folder-in-windows-8 is correct
[ignore the -8, the site is updated for 10/11]). This is per user start up
(unless one uses the "all users" path). The Windows task scheduler also
allows one to create tasks that run on a schedule -- said schedule
including options for specific user logging in, any user logging in,
computer start-up, etc. The scheduler is probably the recommended way to
set up things.

>However, my old windows 10 desktop crashed and I have a new Windows 11 machine. I installed the latest stable version of Python, which is 3.10. Now, when I try to execute the same batch file, it doesn't launch the app. It could be because I'm using Windows 11 or could be because I now have a newer version of Python.
>
>With this additional information, do you have any ideas what I should do to get the Python script running in the same way I had it running before?

As I stated above -- insufficient information.

Is Python installed for all users or just one?
Is "pythonw" on the system PATH?
Is the script meant to only run for one user or any user?
How was the script configured to start?
Is the script in a valid directory (I believe in a previous post it was
mentioned that you had the script in the directory used for per user
START-MENU entries; that is not meant for user files!).

My first approach would be to open a console and run the script
manually (not the BAT file) -- does any error message appear in the
console? Running using pythonw suppresses console, error messages would be
lost -- GUI applications are expected to trap any runtime errors and either
write to a log file or pop-up a dialog for them.

Then, after getting it to run in a console, I'd try it by
double-clicking on the file (rename it to .pyw so you get the no-console
interpreter). If Windows says it doesn't know how to run .pyw, it implies
that there is no file association set up in Windows telling it how to run
that extension.

NO BAT file should be required for a one-liner that does no parameter
substitution.

If using the "startup" directory method, create a shortcut for the
script (right-click, drag, create shortcut here). Right-click/Properties.
If you don't have associations set to run that extension type, prefix the
Target box with the path to the python(w) executable. Move the shortcut to
the proper startup directory -- Note that if you put it in the all-users
startup, you have to make sure that the script and shortcut themselves are
not in protected (single user) locations.

Using the task scheduler, you'd have similar constraints on
directories, but shouldn't need to create a shortcut file. Instead, you'd
specify the path to the interpreter and the path to the script as the task
ACTION, with the applicable start option as the TRIGGER.

--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

Re: Fwd: Python Question re Executing a Script (dn)

<mailman.296.1651511741.20749.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18111&group=comp.lang.python#18111

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: pyt...@mrabarnett.plus.com (MRAB)
Newsgroups: comp.lang.python
Subject: Re: Fwd: Python Question re Executing a Script (dn)
Date: Mon, 2 May 2022 18:15:32 +0100
Lines: 27
Message-ID: <mailman.296.1651511741.20749.python-list@python.org>
References: <BY5PR12MB4162583FEF92544DD8D20CBDC6C19@BY5PR12MB4162.namprd12.prod.outlook.com>
<61055ef8-2765-c9bb-6182-60cb09b94075@DancesWithMice.info>
<mailman.294.1651480403.20749.python-list@python.org>
<0euv6hdl5ccumftc56te70boi68b6r991a@4ax.com>
<e6c39998-359e-9748-ff37-531738e4310a@mrabarnett.plus.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de FP0jqzvGl17QZxXBHxmT9ApUIj5C0v4JKmg6KuQ1QcPQ==
Return-Path: <python@mrabarnett.plus.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=plus.com header.i=@plus.com header.b=hysqb93N;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.013
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; '2022': 0.05; 'bunch':
0.05; '"python': 0.07; 'please?': 0.07; 'suggestion': 0.07;
'from:addr:python': 0.09; 'nasty': 0.09; 'received:192.168.1.64':
0.09; 'subject:Python': 0.12; '3.8.': 0.16; '[snip]': 0.16;
'batch': 0.16; 'displayed': 0.16; 'from:addr:mrabarnett.plus.com':
0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com':
0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16;
'received:84.93.230.227': 0.16; 'received:plus.net': 0.16;
'wrote:': 0.16; 'python': 0.16; 'subject:Question': 0.19; 'to:addr
:python-list': 0.20; 'machine': 0.22; "i've": 0.22; 'run': 0.23;
'perform': 0.26; 'subject:Fwd': 0.26; 'recently': 0.29; 'header
:User-Agent:1': 0.30; 'program': 0.31; "doesn't": 0.32; 'fine.':
0.32; 'replies': 0.32; 'titled': 0.32; 'received:192.168.1': 0.32;
'there': 0.33; 'windows': 0.34; 'same': 0.34; 'header:In-Reply-
To:1': 0.34; 'running': 0.34; 'mon,': 0.36; 'really': 0.37;
'received:192.168': 0.37; 'file': 0.38; 'put': 0.38; 'least':
0.39; 'enough': 0.39; 'appears': 0.40; 'try': 0.40; 'should':
0.40; 'remember': 0.61; 'simply': 0.63; 'research': 0.64;
'personal': 0.64; 'your': 0.64; 'upon': 0.64; 'box': 0.65; 'day':
0.66; 'worked': 0.67; 'respond': 0.67; 'that,': 0.67;
'following:': 0.69; 'below': 0.69; 'content': 0.72; 'quote': 0.74;
'signature': 0.76; 'client': 0.82; 'night.': 0.84; 'signatures':
0.84; 'screen,': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plus.com; s=042019;
t=1651511739; bh=27oTeiqw1wC+3cobDadw77DwzZRx3DrNSUKAlmRNQQg=;
h=Date:Subject:To:References:From:In-Reply-To;
b=hysqb93NOdd31R0N8EaUFI4WDJ0K2ouNj2Esd0Lt91SNIClksTn8+U9jI9HpRKVpc
be22h2yfOLDBpBCRDTwIg7d79U0nOUo62R2bqaSBP6QanmLgTcDLdOS7ZouDRslzg+
7G4y/faprMkZxW+IHEo9GN5VV2ZdMXB3wzlb+XE/wWapPtmAAuVi1HNKS/jPg5whpD
S8s/eL5eFcZu7XnUfsMBPrZP6JWBV1sTLXcHugi6BfR07vyp03JoFRYqQIlXNgkx5F
UE5nSccPnheYUbf/vzw4af68GJP6GTZlPcKmTqVlRrZ/X0UX6XZ+fC2mN3YGgLMAa1
ZM0nUQJHbcQQA==
X-Clacks-Overhead: "GNU Terry Pratchett"
X-CM-Score: 0.00
X-CNFS-Analysis: v=2.4 cv=ENUVbnVC c=1 sm=1 tr=0 ts=627011bb
a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17
a=IkcTkHD0fZMA:10 a=Fy9s01vvAAAA:8 a=hYMSE5ZRaFSe0sc5VbcA:9 a=QEXdDO2ut3YA:10
a=6nF9sJn-wDEy1ZUUbTnL:22
X-AUTH: mrabarnett@:2500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Content-Language: en-GB
In-Reply-To: <0euv6hdl5ccumftc56te70boi68b6r991a@4ax.com>
X-CMAE-Envelope: MS4xfMl4bLPxsm9/rPRENui4dyWHZgKYeq1Q3cxFnPpmSlPEJ0WB1Il7oiO4qaTNJ2K0OQtGmHYseZ4W6W/VPCElD6xN8NDX3AjB1uXN20WuTINfu17BPoKM
5R/6an25kM/pXJnFVeuo6VtdefdVJ7Chvk8SYN6N3AOZOJVfl3VzjLrgP+Mhp1oPW1Rq729qCQAYLQVlFsIFVvuV4IfDPS00tX0=
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <e6c39998-359e-9748-ff37-531738e4310a@mrabarnett.plus.com>
X-Mailman-Original-References: <BY5PR12MB4162583FEF92544DD8D20CBDC6C19@BY5PR12MB4162.namprd12.prod.outlook.com>
<61055ef8-2765-c9bb-6182-60cb09b94075@DancesWithMice.info>
<mailman.294.1651480403.20749.python-list@python.org>
<0euv6hdl5ccumftc56te70boi68b6r991a@4ax.com>
 by: MRAB - Mon, 2 May 2022 17:15 UTC

On 2022-05-02 17:23, Dennis Lee Bieber wrote:
> On Mon, 2 May 2022 20:33:02 +1200, dn <PythonList@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@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.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor