Skip to content

Use argpase here #1

@saralk

Description

@saralk

try:
if len(sys.argv) > 4:
print ('Warning! Inputs are more than expected, will handel the first 3 inputs and ignore the rest')
dataDIR = sys.argv[1]
start = sys.argv[2]
end = sys.argv[3]
except:
print('Incorrect arguments please make sure to pass <Data source> <From> <To>')

https://docs.python.org/3/library/argparse.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions