Python Forum
to import just part of a modulr
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
to import just part of a modulr
#11
Make it a packet and import it in pieces as @nilamo have said. I can't think of a case now why one want to use something else.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#12
it's not my module. but maybe i just need to read it in, select lines, and call exec().
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can you please explain what the part after import sys is doing? Pedroski55 3 2,047 Dec-09-2020, 07:02 AM
Last Post: bowlofred
  Import error when trying to import DDE (part of PyWin32) fbicalho 0 3,779 Apr-21-2018, 07:26 PM
Last Post: fbicalho

Forum Jump:

User Panel Messages

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