selfteaching / selfteaching/selfteaching-python-camp
Day07 模块引入
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
from stats_word import stats_text
stats_text(text1)
编译显示:
Unable to import ‘stats_word’
请问是哪里设置不对吗?
main.py 在\d07目录下
stats_word.py 在\d07\mymodule 目录下
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 by inspecting main.py in the d07 directory and stats_word.py under d07/mymodule, then reproduce the Unable to import ‘stats_word’ message using the project’s normal run or compile command. Done means the import succeeds and stats_text(text1) can be called from main.py.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100