Python Forum
informatio from importer to importee
Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
informatio from importer to importee
#5
(Nov-19-2018, 12:15 AM)Skaperen Wrote: if i do it with a setup function, how will the importee/module define things in the importer's global space?

With a return value, just like you showed. Though I was thinking something much simpler:

import debugtoys
pf,pr,pv,sl = debugtoys.set_up(debug = True)
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
informatio from importer to importee - by Skaperen - Nov-18-2018, 07:31 PM
RE: informatio from importer to importee - by ichabod801 - Nov-19-2018, 03:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Custom importer and errors Fips 6 556 Apr-14-2024, 02:34 PM
Last Post: Pedroski55

Forum Jump:

User Panel Messages

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