-
```
What steps will reproduce the problem?
1. we have the following code in .py
if len(sys.argv)>1:
solver = Solver(resultsDir = sys.argv[1])
else:
solver = Solver()
2. use F5 t…
-
```
What steps will reproduce the problem?
1. we have the following code in .py
if len(sys.argv)>1:
solver = Solver(resultsDir = sys.argv[1])
else:
solver = Solver()
2. use F5 t…
-
I think your solution is incomplete:
* transformation must be applied to all argv[] values, not just argv[0]
* transformation is more complex than just surrounding with quotes. See https://docs.micr…
-
If this was chocolate, an argv parser would be peanut butter.
And who doesn't like chocolate and peanut butter?
Assholes.
-
Migrated from [rt.perl.org#133496](https://rt-archive.perl.org/perl5/Ticket/Display.html?id=133496) (status was 'open')
Searchable as RT133496$
p5pRT updated
2 years ago
-
many options are either missing, named something else or not assigned to anything. And the fugliness of the code!!
perhaps using a cache object to hold/store/transpose said items would help.
-
# process.env & process.argv
```js
const log = console.log;
// log(`process.env =\n`, process.env)
log(`process.argv =\n`, process.argv)
```
-
In the sys module there is a list called argv which gives access to command-line arguments. Actually sys.argv[0] gives you the name of the script. The command-line arguments start from sys.argv[1]. If…
-
I have problem with pyoxidizer 0.9.0 and sys.argv. I make simple test app (via pyoxidizer init-config-file pyapp)
```
[/tmp/pyapp] $ cat foo/bar.py
import sys
def main():
print("argv:"…
-
```
What steps will reproduce the problem?
1. we have the following code in .py
if len(sys.argv)>1:
solver = Solver(resultsDir = sys.argv[1])
else:
solver = Solver()
2. use F5 t…