r/PythonLearning • u/Glittering_Ad_4813 • Nov 04 '25
[ Removed by moderator ]
/r/PythonLearning/comments/1oo8s2f/removed_by_moderator/[removed] — view removed post
0
Upvotes
r/PythonLearning • u/Glittering_Ad_4813 • Nov 04 '25
[removed] — view removed post
2
u/morphlaugh Nov 04 '25
I'm betting it's because helpers.py is in a subdirectory deeper than your current working directory.
"from sales_analysis.helpers import calculate_total"
will probably fix it, or get you closer.
If that doesn't work, you can always
import os
print(os.getcwd())
to see where you are when running.