How to enter escape character in a positional string argument from the command line?

Chris Angelico rosuav at gmail.com
Wed Dec 21 11:12:50 EST 2022


On Thu, 22 Dec 2022 at 03:11, Jach Feng <jfong at ms4.hinet.net> wrote:
>
> Chris Angelico 在 2022年12月21日 星期三下午1:02:01 [UTC+8] 的信中寫道:
> > On Wed, 21 Dec 2022 at 15:28, Jach Feng <jf... at ms4.hinet.net> wrote:
> > > That's what I am taking this path under Windows now, the ultimate solution before Windows has shell similar to bash:-)
> > Technically, Windows DOES have a shell similar to bash. It's called
> > bash. :) The trouble is, most people use cmd.exe instead.
> >
> > ChrisA
> Really? Where? I can't find it in my Windows 8.1

Ah, I didn't mean "ships with"; bash for Windows is very much
available, but you'd have to go fetch it. Try the Windows app store
first, and if not, a quick web search will find it. Or install Git for
Windows, which comes with bash.

ChrisA


More information about the Python-list mailing list