Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Logic doesn't apply to the real world. -- Marvin Minsky


devel / comp.lang.python / Re: Python Question re Executing a Script

SubjectAuthor
o Re: Python Question re Executing a ScriptMike Dewhirst

1
Re: Python Question re Executing a Script

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

 copy mid

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

 copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: mik...@dewhirst.com.au (Mike Dewhirst)
Newsgroups: comp.lang.python
Subject: Re: Python Question re Executing a Script
Date: Sun, 1 May 2022 12:15:01 +1000
Lines: 57
Message-ID: <mailman.279.1651371874.20749.python-list@python.org>
References: <BY5PR12MB41628085B103F41F3D2A24B0C6FF9@BY5PR12MB4162.namprd12.prod.outlook.com>
<179f20f3-fe04-2c2c-6f61-e7e4b71127ef@dewhirst.com.au>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature";
boundary="------------mV4ITibEF7iWaezqP5HjuXzU"
X-Trace: news.uni-berlin.de Nuouh6CbctiH2LrtYLJIcwjrI7IUE/ZJ7dp5KspxpFQg==
Return-Path: <miked@dewhirst.com.au>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.005
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'absolute': 0.05;
'containing': 0.05; 'content-type:multipart/signed': 0.05;
'assumes': 0.07; 'lets': 0.07; 'content-type:application/pgp-
signature': 0.09; 'subject:Python': 0.12; 'import': 0.15;
"'python": 0.16; '3.10': 0.16; '8:37': 0.16; 'batch': 0.16;
'decrypt': 0.16; 'from:addr:dewhirst.com.au': 0.16;
'from:addr:miked': 0.16; 'from:name:mike dewhirst': 0.16; 'key.':
0.16; 'personally,': 0.16; 'phishing.': 0.16;
'received:webmastery.com.au': 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; 'command': 0.23; 'installed': 0.23;
'run': 0.23; 'to:name:python-list@python.org': 0.24; 'stuff':
0.25; 'computer': 0.29; 'header:User-Agent:1': 0.30; 'am,': 0.31;
"i'll": 0.33; 'received:192.168.0': 0.33; 'script': 0.33;
'windows': 0.34; 'same': 0.34; 'header:In-Reply-To:1': 0.34;
'received:au': 0.35; 'directory': 0.37; 'received:192.168': 0.37;
'file': 0.38; 'edit': 0.39; 'handle': 0.39; 'hello,': 0.40; 'me.':
0.62; 'email': 0.63; 'send': 0.63; 'once': 0.63; 'skip:m 20':
0.63; 'public': 0.63; 'key': 0.64; 'your': 0.64; 'came': 0.65;
'touch': 0.65; 'url-ip:104.18/16': 0.67; 'content-
type:multipart/mixed': 0.68; 'you.': 0.71; 'located': 0.71;
'private': 0.73; 'signature': 0.76; 'received:103': 0.91
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Content-Language: en-US
In-Reply-To: <BY5PR12MB41628085B103F41F3D2A24B0C6FF9@BY5PR12MB4162.namprd12.prod.outlook.com>
X-PPP-Message-ID: <20220501021506.22103.38625@plesk01.e1.webmastery.com.au>
X-PPP-Vhost: chemintro.com
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
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: <179f20f3-fe04-2c2c-6f61-e7e4b71127ef@dewhirst.com.au>
X-Mailman-Original-References: <BY5PR12MB41628085B103F41F3D2A24B0C6FF9@BY5PR12MB4162.namprd12.prod.outlook.com>
 by: Mike Dewhirst - Sun, 1 May 2022 02:15 UTC
Attachments: "OpenPGP_signature" (application/pgp-signature)

On 1/05/2022 8:37 am, Brent Hunter wrote:
> Hello,
>
> I just purchased a new Windows 11 computer and installed Python 3.10.4 (64 bit). I can't figure out from your documentation, how do I:
>
>
> 1. Run a python script that is located in the same directory ( C:\Users\Brent\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.10 )
>
>
> 1. How do I automatically run a python app at Windows startup?
https://www.windowscentral.com/how-launch-apps-automatically-during-login-windows-11
Personally, I write a batch file containing the 'python
/location/of/script.py' command line and call that batch file. That
assumes python.exe is on the Windows path.
Once tested and working it lets me edit the batch file to adjust the
payload without having to touch the Windows stuff again.


>
> Thank you!
>
> Brent Hunter
>

--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

Attachments: "OpenPGP_signature" (application/pgp-signature)
1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor