Casey Bralla on 20 Feb 2014 07:02:55 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Python Syntax Question

I'm confused a little about importing modules in python.

In some cases, you add a statement like:

"import sys"

But in other cases, the syntax is:

"from sys import *"

Why the difference?


Casey Bralla

Chief Nerd in Residence
The NerdWorld Organisation
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --