in reply to similar module in perl for pika in python
sys "provides access to some variables used or maintained by the interpreter and to functions that interact strongly with the interpreter". You'd need to look in the script for functions or attributes like sys.foo then read the docs to see what foo does, then find a way to do the same job in Perl. Some likely candidates are sys.argv which is @ARGV in Perl, and sys.exit which is exit in Perl.
|
|---|