Open ericagong opened 3 years ago
dirname
in BabynameParser means a path of the directory. Git
practice session, it would better to exclude local files such as .idea or pycache from your repo through .gitignore
.Thank you for asking important questions! Please let me know when you have other questions.
Regarding question 3, please use os.path.join
instead of writing the separator directly in the string.
Then you will be OK.
Thanks a lot! I submitted well :)
1. I am curious that arg dirname is consist of all pathes or just the name of the directory. For example including all path dirname = ": C:\Users\82105\Desktop\swppfall2021-main\swppfall2021-main\hw1\babydata" or "\babydata" If just including "the name of the dir" then dirname = "babydata".
This is confusing because of the following example shows as dirname is including all pathes wheares skeleton seems like meaning name of the directory. Following is the example output posted on swppfall.hw1 readme.md page.
Also want to confirm that BabynameFileNotFoundException's error message should contain all file path or just the name of the directory.
Finally want to make sure that if i use \ instead of / in python? I'm using window os, path represents in C:\Users\82105\Desktop\swppfall2021-main\swppfall2021-main\hw1 format not in / format.
It is not related question but want to make it clear... .idea , pycache, README>md should not be included in submission root directory?