Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'distinction': 0.07; 'subject:process': 0.07; 'python': 0.08; 'content-type:multipart/signed': 0.09; 'filename:fname piece:signature': 0.09; 'linux/unix,': 0.09; 'subject:script': 0.09; 'content-type:application/pgp-signature': 0.16; 'filename:fname piece:asc': 0.16; 'filename:fname:signature.asc': 0.16; 'from:addr:awilliam': 0.16; 'from:addr:whitemice.org': 0.16; 'from:name:adam tauno williams': 0.16; 'pypi.': 0.16; 'received:72.14.190': 0.16; 'received:72.14.190.87': 0.16; 'received:mail.wmmi.net': 0.16; 'received:wmmi.net': 0.16; 'reply- to:addr:awilliam': 0.16; 'reply-to:addr:whitemice.org': 0.16; 'subject: \n ': 0.16; 'subject:possible': 0.16; 'wed,': 0.17; 'wrote:': 0.18; 'linux,': 0.21; 'header:In-Reply-To:1': 0.22; 'windows': 0.26; 'module': 0.26; "i'm": 0.28; 'table,': 0.29; 'weird': 0.29; 'problem': 0.29; 'received:72.14': 0.29; 'least': 0.30; 'subject:?': 0.31; 'running': 0.34; 'to:addr:python-list': 0.35; 'but': 0.37; 'to:addr:python.org': 0.40; 'your': 0.61; 'header:Reply-To:1': 0.70; 'reply-to:no real name:2**0': 0.72; '07:43': 0.84; 'what.': 0.84 Subject: Re: Is it technically possible to give Python option of naming process of running script? From: Adam Tauno Williams To: python-list@python.org Date: Sat, 24 Mar 2012 11:24:23 -0400 In-Reply-To: <19118128.4791.1331736187952.JavaMail.geo-discussion-forums@vbai14> References: <19118128.4791.1331736187952.JavaMail.geo-discussion-forums@vbai14> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-8eg5UJ7IyNum7bCDPk3t" X-Mailer: Evolution 3.2.1 Mime-Version: 1.0 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: awilliam@whitemice.org List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1332604026 news.xs4all.nl 6922 [2001:888:2000:d::a6]:49721 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22117 --=-8eg5UJ7IyNum7bCDPk3t Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2012-03-14 at 07:43 -0700, xliiv wrote: > Like the topic.. . > I use Python a lot, both Windows and Linux, and it's little weird to > have many python process without fast distinction which is what. I'm not sure of my interpretation of your problem but if you want to set the name of the running process in the process table, at least on LINUX/UNIX, you can use the procname module available via PyPI. --=-8eg5UJ7IyNum7bCDPk3t Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEABECAAYFAk9t5ycACgkQLRePpNle04NyfwCdGGVuABLF15Ja8/HYhuPKvaO8 7mMAnjrMxJ7n78RdLEr1aNlxya9j1SoY =+FT+ -----END PGP SIGNATURE----- --=-8eg5UJ7IyNum7bCDPk3t--