softpano / pythonizer

Translator (or more correctly transcriber) from Perl to Python
http://www.softpanorama.org/Scripting/Pythonorama/Python_for_perl_programmers/Pythonizer/index.shtml
Other
39 stars 17 forks source link

References to @ARGV should be changes to sys.argv[1:] #49

Open snoopyjc opened 2 years ago

snoopyjc commented 2 years ago

Perl @ARGV does not contain the script reference at index 0, while python sys.argv does, so references should be replaced with sys.argv[1:].

snoopyjc commented 2 years ago

Fixed in https://github.com/snoopyjc/pythonizer