Created
June 20, 2020 03:16
-
-
Save NimishMishra/9399f7554e1975bd330c88229546a7d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def navigate_directory(command): | |
destination_directory_path = command[command.index("cd") + 3:] | |
print(destination_directory_path) | |
os.chdir(destination_directory_path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment