On 29Jan2023 08:10, avi.e.gr...@gmail.com <avi.e.gr...@gmail.com> wrote:
You are technically correct but perhaps off the mark.
Yes, a python program only sees what is handed to it by some shell if invoked a
certain way.
The issue here is what you tell people using your program about what they need
to type to get it to work. That means if their shell is going to make changes
in what they typed, they need to know how to avoid unintended changes. As one
example not mentioned, whitespace disappears if not somehow protected as in
quotes.
Hmm, there is that. But the OP needs clarity on what happens in a shell
and what happens in a programme once the shell has invoked it for a
user.
Cheers,
Cameron Simpson <c...@cskk.id.au>
--
https://mail.python.org/mailman/listinfo/python-list