this question may be a foolish question. since im new to this python , please help me in this issue.
if __name__== '__main__' :
path=sys.argv[1]
in the above code im reading arguments from command line. my argument is a path to some file in system. when i dont give argumentts it is raising a error "list index out of range"
instead of reading from command line i want to take input in the following manner
" enter path to your file.."
after showing this line how can i parse through the file system by pressing tab and take path as input?