Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two 'utils.py' files in /code directory #23

Open
Ver1s opened this issue Jun 1, 2020 · 1 comment
Open

Two 'utils.py' files in /code directory #23

Ver1s opened this issue Jun 1, 2020 · 1 comment

Comments

@Ver1s
Copy link

Ver1s commented Jun 1, 2020

Hello
I am going through the notebook for Chapter 1, and there seems to be an issue with importing write_table:
from utils import write_table
write_table(table, 'table01-01')

produces an ImportError. From what I can tell, it's because /code has two files named utils.py: one in /code, the other in /code/soln/. The function write_table is defined in the latter, and import never checks there because it looks in the utils.py that is in /code, the same directory as all the notebooks. Could you please take a look?

@AllenDowney
Copy link
Owner

AllenDowney commented Mar 18, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants