foo.py :

    i = 10

   def fi():
      global i
      i = 99

bar.py :

    import foo
    from foo import i

    print i, foo.i
    foo.fi()
    print i, foo.i

This is problematic. Well I want i to change with foo.fi() .
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to