Skip to content

Forum in maintenance, we will back soon πŸ™‚

Notifications
Clear all

Cost Estimation

6 Posts
3 Users
5 Reactions
32 Views
Shireen
(@shireen168)
Posts: 8
Member
Topic starter
 

Sir Hassan,Β 

It's me again, Shireen.Β 
I am currently in the lesson about Cost Estimation.Β 
I have created a helper module, both the files are within the same directory, but then there is a message on 'attribute error'.
Attached is the pdf for your reference.Β 
Appreciate your advice. Thanks again, Sir!

Shireen

 
Posted : 08/21/2023 12:21 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@shireen168 could you create a Github account and upload your project there and share it? I'm not seeing an issue but if I had the code I could try it out. Maybe changing the import of the helpers module to:

from . import helpers

might help.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/21/2023 3:54 pm
Shireen
(@shireen168)
Posts: 8
Member
Topic starter
 

@ssadvisor thanks for your reply πŸ™‚

I just realized the problem was due to me not saving the module helper.py after making changes, hence the error message popped up when I was trying to run it. What a silly mistake >.<

Anyway, thanks again πŸ™‚

 
Posted : 08/22/2023 1:52 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@shireen168 that issue bites me quite often and I've been programming for more than 3 decades. 🙃

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/22/2023 5:45 am
 Heru
(@heru)
Posts: 1
Member
 

@shireen168 Thank you for sharing this solution. I experienced the same problem, searched for the solution in several posts all day but failed. It turns out the solution was just forgetting to save the module after editing. 😆Β 

 
Posted : 10/08/2023 8:03 am
Shireen
(@shireen168)
Posts: 8
Member
Topic starter
 

@heru hahaha… glad that this post helps. Let’s learn and continue to grow together 😎🙌

 
Posted : 10/08/2023 11:47 am
Share:
[the_ad_group id="312"]