I am beginner in python , I need a help please:
First i try to pass the path of a dataset in parameter.
I like to know how I can browse the dataset from this path.
this My code
import argparse
if __name__ == '__main__':
# Initialize the parser
parser = argparse.ArgumentParser(
description="my math script"**strong text**
)
# Add the parameters positional/optional
parser.add_argument('-input','--d', help="path to input database mat file", type=str)
# Parse the arguments
args = parser.parse_args()
print(args)