On 2015-02-11 10:07, Dave Angel wrote:
> if there are tons of them, you do NOT want to pollute your local 
> namespace with them, and should do:
> 
> import mydef
> 
> x = mydef.func2()   # or whatever

or, if that's verbose, you can give a shorter alias:

  import Tkinter as tk
  root = tk.Tk()
  root.mainloop()

-tkc




-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to