Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #82: Yeah, yo mama dresses you funny and you need a mouse to delete files.


comp / comp.os.linux.advocacy / Python's many command-line utilities

SubjectAuthor
* Python's many command-line utilitiesrbowman
+- Re: Python's many command-line utilitiesLawrence D'Oliveiro
`* Re: Python's many command-line utilitiescandycanearter07
 `* Re: Python's many command-line utilitiesLawrence D'Oliveiro
  `* Re: Python's many command-line utilitiescandycanearter07
   `- Re: Python's many command-line utilitiesLawrence D'Oliveiro

1
Subject: Python's many command-line utilities
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Tue, 11 Jun 2024 23:55 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Python's many command-line utilities
Date: 11 Jun 2024 23:55:47 GMT
Lines: 10
Message-ID: <lcs6g2FglkqU5@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net VQdFNKJH21R0oHMRV5XU9gYI60kl8Mi6W+S4w+pr4qqWUx/23x
Cancel-Lock: sha1:19+AICLEjyU+DHlkcSfnUWAhLVo= sha256:jPWjOaks7Oqd0ruZGM5Gb5Wjdi0pEFPZnUNfrZAAlMM=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

https://www.pythonmorsels.com/cli-tools/

Taking a break from politics and OS disputes since it's available on
different platforms . I use some frequently like '-m pip' or '-m venv',
others seldom, and there are some i didn't know existed. 'http.server'
sounds handy as opposed to ^o in the browser then having to hunt around
for the html file.

Subject: Re: Python's many command-line utilities
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Wed, 12 Jun 2024 00:01 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python's many command-line utilities
Date: Wed, 12 Jun 2024 00:01:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <v4aogl$19q08$1@dont-email.me>
References: <lcs6g2FglkqU5@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 12 Jun 2024 02:01:26 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="114c653c06754bac2979cba4b47e2f9e";
logging-data="1370120"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DPM5ZnAciZdqify6JqCrt"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:a29w2s+opMRs4tzjt35slsf4nCY=
View all headers

On 11 Jun 2024 23:55:47 GMT, rbowman wrote:

> https://www.pythonmorsels.com/cli-tools/
>
> Taking a break from politics and OS disputes since it's available on
> different platforms .

Sure it is:

Especially handy on Windows machines

Running Python on Windows? Or running Python on a Linux/Mac
machine without the ability to easily install common
command-line utilities like uuid, sqlite3 and gzip?

These tools are all equivalent to command-line tools that are
common on many Linux machines, though the equivalent Linux
commands are usually more powerful and more user-friendly.

Subject: Re: Python's many command-line utilities
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Wed, 12 Jun 2024 06:25 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python's many command-line utilities
Date: Wed, 12 Jun 2024 06:25:04 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 14
Message-ID: <slrnv6ifko.13pi.candycanearter07@candydeb.host.invalid>
References: <lcs6g2FglkqU5@mid.individual.net>
Injection-Date: Wed, 12 Jun 2024 08:25:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a92ee56fe71330095cf9c81c717935bf";
logging-data="1616100"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+ce6rWpkOLXGWoW0E/OICqcJ69NKjtYRihsSEsRtKuw=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:VAoUEh0p4oW9RrNQQS1R8EfqdRc=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

rbowman <bowman@montana.com> wrote at 23:55 this Tuesday (GMT):
> https://www.pythonmorsels.com/cli-tools/
>
> Taking a break from politics and OS disputes since it's available on
> different platforms . I use some frequently like '-m pip' or '-m venv',
> others seldom, and there are some i didn't know existed. 'http.server'
> sounds handy as opposed to ^o in the browser then having to hunt around
> for the html file.

http.server is fantastic for quick testing or if you wanted to download
a page recursively to read offline like I do
--
user <candycane> is generated from /dev/urandom

Subject: Re: Python's many command-line utilities
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Wed, 12 Jun 2024 07:20 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python's many command-line utilities
Date: Wed, 12 Jun 2024 07:20:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <v4bi7c$1hs21$2@dont-email.me>
References: <lcs6g2FglkqU5@mid.individual.net>
<slrnv6ifko.13pi.candycanearter07@candydeb.host.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 12 Jun 2024 09:20:13 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="114c653c06754bac2979cba4b47e2f9e";
logging-data="1634369"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18NyUPLgvVWC1RKUgRqIK06"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:Z3J9i2e26ugS+1MZV5uqJIg7r2s=
View all headers

On Wed, 12 Jun 2024 06:25:04 -0000 (UTC), candycanearter07 wrote:

> http.server is fantastic for quick testing or if you wanted to download
> a page recursively to read offline like I do

“wget -r” can do that.

Subject: Re: Python's many command-line utilities
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Wed, 12 Jun 2024 20:35 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python's many command-line utilities
Date: Wed, 12 Jun 2024 20:35:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 17
Message-ID: <slrnv6k1g1.1plq.candycanearter07@candydeb.host.invalid>
References: <lcs6g2FglkqU5@mid.individual.net>
<slrnv6ifko.13pi.candycanearter07@candydeb.host.invalid>
<v4bi7c$1hs21$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 12 Jun 2024 22:35:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a92ee56fe71330095cf9c81c717935bf";
logging-data="1931418"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Y/2S3pMMqoL3Gib6vacEmZuryLMQt4toyUYYMyDDAeg=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Y+NihjNlvX/uHqRjNkQMm+m/01A=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 07:20 this Wednesday (GMT):
> On Wed, 12 Jun 2024 06:25:04 -0000 (UTC), candycanearter07 wrote:
>
>> http.server is fantastic for quick testing or if you wanted to download
>> a page recursively to read offline like I do
>
> “wget -r” can do that.

Yeah, I know. (i actually have an alias for it as "wget -e robots=off
--mirror --noparent --convert-links --random-wait --no-host-directoies
--html-extension --page-requisites -r" so it downloads all the scripts
and stuff too)
I meant it helps so I can just go to localhost and have
it just work.
--
user <candycane> is generated from /dev/urandom

Subject: Re: Python's many command-line utilities
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Wed, 12 Jun 2024 22:19 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Python's many command-line utilities
Date: Wed, 12 Jun 2024 22:19:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <v4d6t4$1s2qg$1@dont-email.me>
References: <lcs6g2FglkqU5@mid.individual.net>
<slrnv6ifko.13pi.candycanearter07@candydeb.host.invalid>
<v4bi7c$1hs21$2@dont-email.me>
<slrnv6k1g1.1plq.candycanearter07@candydeb.host.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 13 Jun 2024 00:19:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f65c39e304ca10fe5aa284c5a1ca1440";
logging-data="1968976"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Pi0JI7FXBnHaHor0rf5qQ"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:ve34IFz3g6e3p6M0gL6vVIgiy6s=
View all headers

On Wed, 12 Jun 2024 20:35:03 -0000 (UTC), candycanearter07 wrote:

> I meant it helps so I can just go to localhost and have it just work.

You mean, use your own web server to serve up a local copy of the pages?
That makes sense.

1

rocksolid light 0.9.8
clearnet tor