[Tutor] "from this import *" or "import this"
Mon, 3 Dec 2001 13:31:44 -0000
> never programmed before and do not intend to make a career
> out of what I am learning
> is there a real use for the form "from this_module
> import * " since
Its shorter to type but has several dangers attached, most of
which you have correctly identified. For a beginner thats a
great start :-)
and save much grief.
Use 'from foo import x,y' etc when you are absolutely SURE its OK
and you know you'll use the functions a lot. (Tkinter etc are the
classic examples of sensible use)