So how to make python take user input so that it can navigate to the file directory the user has given it. The File name ede.html will always be the same but depending on every user the directory to the file keeps changing.
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You change a directory like so
As for user input, you can try getting it with
raw_inputand checking it’s validity with the methods in theos.pathmodule.