Hi;
Here is sample function:

def a():
  b()
  print c

def b():
  c = "Hi"
  return c

if __name__ == "__main__":
  a()

then run a(). Throws error about c not being defined. How do I return c from
b?
TIA,
Victor
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to