Skip to content

Sys. System call

Julio edited this page Mar 1, 2020 · 2 revisions

Library sys builds on the linux system to use python scripts as script calls.

from sys import argv

script, arg1, arg2, argn = argv
import sys

print('The command line arguments are:')
for i in sys.argv:
  print(i)

print('\n\nThe PYTHONPATH is', sys.path, '\n')
Clone this wiki locally