r/PythonLearning • • Nov 04 '25

[ Removed by moderator ]

/r/PythonLearning/comments/1oo8s2f/removed_by_moderator/

[removed] — view removed post

0 Upvotes

11 comments sorted by

View all comments

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.

2

u/Glittering_Ad_4813 Nov 04 '25

Gonna try it if it works thanks