Re: Conda Python script not getting right command line argument

2023-07-03 Thread Brian Inglis via Cygwin
On 2023-07-03 16:12, ravi r via Cygwin wrote: Using Cygwin Python interpreter invoked from shebang line $ cat /tmp/script1 #!/usr/bin/python print("hello"); $ /tmp/script1 hello $ works as expected. Conda Python interpreter invoked from shebang line $ cat /tmp/sc

Conda Python script not getting right command line argument

2023-07-03 Thread ravi r via Cygwin
Using Cygwin Python interpreter invoked from shebang line $ cat /tmp/script1 #!/usr/bin/python print("hello"); $ /tmp/script1 hello $ works as expected. Conda Python interpreter invoked from shebang line $ cat /tmp/script2 #!/usr/local/anaconda3/python print(