selfteaching / selfteaching/selfteaching-python-camp

Day07 文件中使用import搜索不到相对应的文件或者函数

Open
#4,692 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
151
Forks
875
PR merge metrics
No merged PRs in 30d

Description

文件的创建和放置跟其他同学是一样的,应该没有错。但执行模块导入时显示“mymodule"不存在,请问错在哪里?
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Day07 files and reproduce the reported import of "mymodule". Check whether the module is placed and named as expected, then use the screenshot and the import error to identify the cause. Done means the module can be imported successfully from the documented Day07 setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.