Skip to content
site logo mobile

Forum in maintenance, we will back soon 🙂

Module won't import
 
Notifications
Clear all

[Closed] Module won't import

3 Posts
3 Users
1 Likes
452 Views
(@camiel-ledderhof)
Posts: 3
Active Member Customer
Premium Member
Pythonista Prodigy Badge
Topic starter
 

Hello all, In the PromptEngineering course in chapter 'Cost Estimation' I am creating a file called help1.py which holds all the functions. In the main script file (LWH1.py) I want to import this with 'import help1' and then I get the message 'help1 is not accessed'. When I go like 'import help1 as help1' the message is gone, but the functions called in LWH1.py are not recognized. What am I missing? 

 
Posted : 07/12/2023 8:28 am
Hasan Aboul Hasan
(@admin)
Posts: 992
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

Hi friend, can you please post the questions on the course forum, and not here, this is a public forum, and not for the course.

here is the link:

https://learnwithhasan.com/prompt-engineering-course-support/

and please share your code there.

 
Posted : 07/12/2023 11:03 am
SSAdvisor
(@ssadvisor)
Posts: 959
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@Hasan, do you have a way to lock the comments on a post? This would be one of those that should be locked for commenting.

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

 
Posted : 07/12/2023 5:22 pm
Share: