Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
global varname
#3
what happens if one of these function has import math? should or could i just include import math in sitecustomize.py?

many of the functions will be adding to, or subtracting from, varname. i need to be sure they can do that. some will do that through calls to functions i cannot modify. otherwise i would put its value in a 1-list and access it with a [0] index.
Tradition is peer pressure from dead people

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


Messages In This Thread
global varname - by Skaperen - Mar-01-2023, 11:39 PM
RE: global varname - by snippsat - Mar-02-2023, 02:25 AM
RE: global varname - by Skaperen - Mar-02-2023, 05:10 AM
RE: global varname - by Gribouillis - Mar-02-2023, 06:31 AM
RE: global varname - by snippsat - Mar-02-2023, 09:32 AM
RE: global varname - by deanhystad - Mar-02-2023, 06:35 PM
RE: global varname - by Skaperen - Mar-03-2023, 12:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Global variable does not seem to be global. Columbo 6 3,913 Jul-15-2019, 11:00 PM
Last Post: Columbo

Forum Jump:

User Panel Messages

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