Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom importer and errors
#3
How do you mean "import manually"?

sys.path is not (generally) the problem, the directories are added as I expect:
>>> sys.path
['',
 '/home/fips/src/importest/top',
 '/home/fips/src/importest/top.child1',
 '/home/fips/src/importest/top.child1.child2',
 ...]
Also, importing the top package works, but it seems not to be regarded as a package? What does that even mean?

Thanks for your reply anyway.
Reply


Messages In This Thread
Custom importer and errors - by Fips - Apr-13-2024, 10:10 PM
RE: Custom importer and errors - by Pedroski55 - Apr-14-2024, 05:38 AM
RE: Custom importer and errors - by Fips - Apr-14-2024, 06:51 AM
RE: Custom importer and errors - by Pedroski55 - Apr-14-2024, 07:13 AM
RE: Custom importer and errors - by Fips - Apr-14-2024, 08:47 AM
RE: Custom importer and errors - by Gribouillis - Apr-14-2024, 08:58 AM
RE: Custom importer and errors - by Pedroski55 - Apr-14-2024, 02:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  informatio from importer to importee Skaperen 4 3,936 Nov-19-2018, 03:22 AM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020