Hello All I am in the process of making a script that requires input form the user to be passed to my code i.e enter the file path. it all works well with in python but if I run my script from windows(cmd) each time the input is entered the script crashes with syntax error.
import os
search_path = input("Enter directory path to search : ")
for folder, dirs, files in os.walk(search_path):
blah, blah
Anyone got any clues to what i am missing (note: using Python 3.6
)