How to check if an argument from commandline has been set? April 18, 2023 by Tarik import sys len( sys.argv ) > 1