selfteaching / selfteaching/selfteaching-python-camp
Day07 关于导入stats_word模块的问题
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
今天的作业,在导入stats_word模块的时候,一开始直接导入
import stats_word 结果显示error 模块不存在
好像记得有个from 于是写成了下面这样:
import stats_word form mymoudle
还是报错,这时正好看到群里有人发了信息,打开连接一看,是issue中关于这个问题的,原来是from在前,于是改过来,结果貌似正常了。就是不知道自己写的代码是不是对的
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Day07 exercise and the referenced stats_word module, then inspect the import statements shown in the issue, including the attempted mymoudle form. Confirm whether the module is available in the exercise setup and whether the final import runs successfully; done means the correct import is identified and the original error is explained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100