About this question
I am trying to run a speech to text script and here is a part of that code where I am getting an error:
import sys
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('-f', dest=file, type=string)
args = parser.parse_args()
print args.file
But I am getting the following error:
NameError: name 'file_name' is not defined