Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.misc Subject: Re: Ridiculous Online Programming "Advice" Date: 12 Jan 2026 07:05:17 GMT Lines: 14 Message-ID: References: <546dnQ79vYkSZP_0nZ2dnZfqnPSdnZ2d@giganews.com> <10jvu79$3ql4q$1@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net hwl1XUNTU8MSGQO7HMUrCASLNsWk7wxLGiRVf4sBDvvZ7lC/9h Cancel-Lock: sha1:jKWQpxQwwGIks7gnhMjpUwVvB2Y= sha256:gmRB1QiXX9PUoOKZOmjyZ9buEhTJT22feOIcmYLVLCk= User-Agent: Pan/0.162 (Pokrosvk) Xref: csiph.com comp.os.linux.misc:80971 On Sun, 11 Jan 2026 19:31:48 -0500, c186282 wrote: > Works well ... but you can't run it inside Python, > you'd have to make a shell script. If there are more than 255 hits > then there might be issues sending a simple return value. Indeed this > creates a text rep of a number ... > > If I have the time I'll try comparing the speed of the two solutions > - 100 iterations maybe. I've never needed to run it in a Python script. I was just curious if a bash shell function would get the job done. There are a few other things I should create functions for rather than manually typing the commands like mounting the music files on my nfs server.